Skip to content

Commit 4fb23ab

Browse files
committed
update matcher
1 parent d25485b commit 4fb23ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

__e2e__/config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ test('should fail if using require() in ES module in react-native.config.mjs', (
199199
'test-command-esm',
200200
]);
201201
expect(stderr).toMatch('error Failed to load configuration of your project');
202-
expect(stdout).toMatch(/Cannot require\(\) ES Module/);
202+
expect(stdout).toMatch(/ES Module/i);
203203
});
204204

205205
test('should fail if using require() in ES module with "type": "module" in package.json', () => {

0 commit comments

Comments
 (0)