File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
packages/host/src/node/cli Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ describe("bin", () => {
21
21
0 ,
22
22
`Expected success (got ${ status } ): ${ stdout } ${ stderr } ` ,
23
23
) ;
24
- assert . match ( stdout , / U s a g e : r e a c t - n a t i v e - n o d e - a p i / ) ;
24
+ assert . match (
25
+ stdout ,
26
+ / U s a g e : r e a c t - n a t i v e - n o d e - a p i / ,
27
+ `Failed to find expected output (stdout: ${ stdout } stderr: ${ stderr } )` ,
28
+ ) ;
25
29
} ) ;
26
30
} ) ;
27
31
@@ -43,7 +47,11 @@ describe("bin", () => {
43
47
0 ,
44
48
`Expected success (got ${ status } ): ${ stdout } ${ stderr } ` ,
45
49
) ;
46
- assert . match ( stdout , / A u t o - l i n k i n g N o d e - A P I m o d u l e s / ) ;
50
+ assert . match (
51
+ stdout + stderr ,
52
+ / A u t o - l i n k i n g N o d e - A P I m o d u l e s / ,
53
+ `Failed to find expected output (stdout: ${ stdout } stderr: ${ stderr } )` ,
54
+ ) ;
47
55
} ) ;
48
56
} ) ;
49
57
} ) ;
You can’t perform that action at this time.
0 commit comments