Skip to content

Commit fba6161

Browse files
authored
chore: fix error message in native module test (#13373)
1 parent 5da3402 commit fba6161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jest-runtime/src/__tests__/runtime_require_mock.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe('Runtime', () => {
9393
error = e;
9494
} finally {
9595
expect(error.message).toMatch(
96-
/NativeModule.node: file too short|not a valid Win\d+ application/,
96+
/NativeModule.node: file too short|NativeModule.node, 0x0001|not a valid Win\d+ application/,
9797
);
9898
}
9999
});

0 commit comments

Comments
 (0)