@@ -97,7 +97,7 @@ describe('node:test reporters', { concurrency: true }, () => {
9797 testFile ] ) ;
9898 assert . strictEqual ( child . stderr . toString ( ) , '' ) ;
9999 const stdout = child . stdout . toString ( ) ;
100- assert . match ( stdout , / { " t e s t : s t a r t " : 4 , " t e s t : p a s s " : 2 , " t e s t : f a i l " : 2 , " t e s t : p l a n " : 2 , " t e s t : d i a g n o s t i c " : \d + } $ / ) ;
100+ assert . match ( stdout , / { " t e s t : e n q u e u e " : 5 , " t e s t : d e q u e u e " : 5 , " t e s t : s t a r t " : 4 , " t e s t : p a s s " : 2 , " t e s t : f a i l " : 2 , " t e s t : p l a n " : 2 , " t e s t : d i a g n o s t i c " : \d + } $ / ) ;
101101 assert . strictEqual ( stdout . slice ( 0 , filename . length + 2 ) , `${ filename } {` ) ;
102102 } ) ;
103103 } ) ;
@@ -109,7 +109,7 @@ describe('node:test reporters', { concurrency: true }, () => {
109109 assert . strictEqual ( child . stderr . toString ( ) , '' ) ;
110110 assert . match (
111111 child . stdout . toString ( ) ,
112- / ^ p a c k a g e : r e p o r t e r - c j s { " t e s t : s t a r t " : 4 , " t e s t : p a s s " : 2 , " t e s t : f a i l " : 2 , " t e s t : p l a n " : 2 , " t e s t : d i a g n o s t i c " : \d + } $ / ,
112+ / ^ p a c k a g e : r e p o r t e r - c j s { " t e s t : e n q u e u e " : 5 , " t e s t : d e q u e u e " : 5 , " t e s t : s t a r t " : 4 , " t e s t : p a s s " : 2 , " t e s t : f a i l " : 2 , " t e s t : p l a n " : 2 , " t e s t : d i a g n o s t i c " : \d + } $ / ,
113113 ) ;
114114 } ) ;
115115
@@ -120,7 +120,7 @@ describe('node:test reporters', { concurrency: true }, () => {
120120 assert . strictEqual ( child . stderr . toString ( ) , '' ) ;
121121 assert . match (
122122 child . stdout . toString ( ) ,
123- / ^ p a c k a g e : r e p o r t e r - e s m { " t e s t : s t a r t " : 4 , " t e s t : p a s s " : 2 , " t e s t : f a i l " : 2 , " t e s t : p l a n " : 2 , " t e s t : d i a g n o s t i c " : \d + } $ / ,
123+ / ^ p a c k a g e : r e p o r t e r - e s m { " t e s t : e n q u e u e " : 5 , " t e s t : d e q u e u e " : 5 , " t e s t : s t a r t " : 4 , " t e s t : p a s s " : 2 , " t e s t : f a i l " : 2 , " t e s t : p l a n " : 2 , " t e s t : d i a g n o s t i c " : \d + } $ / ,
124124 ) ;
125125 } ) ;
126126
0 commit comments