1 parent d8b9a83 commit b8c855bCopy full SHA for b8c855b
1 file changed
packages/host/src/node/cli/bin.test.ts
@@ -21,7 +21,11 @@ describe("bin", () => {
21
0,
22
`Expected success (got ${status}): ${stdout} ${stderr}`,
23
);
24
- assert.match(stdout, /Usage: react-native-node-api/);
+ assert.match(
25
+ stdout,
26
+ /Usage: react-native-node-api/,
27
+ `Failed to find expected output (stdout: ${stdout} stderr: ${stderr})`,
28
+ );
29
});
30
31
@@ -43,7 +47,11 @@ describe("bin", () => {
43
47
44
48
45
49
46
- assert.match(stdout, /Auto-linking Node-API modules/);
50
51
+ stdout + stderr,
52
+ /Auto-linking Node-API modules/,
53
54
55
56
57
0 commit comments