Skip to content

Commit 56e9dc8

Browse files
committed
fix e2e test assertion
1 parent 195af79 commit 56e9dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__e2e__/config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ test('should fail if using require() in ES module in react-native.config.mjs', (
200200
]);
201201
expect(stderr).toMatch('error Failed to load configuration of your project');
202202
expect(stdout).toMatch(
203-
'ReferenceError: require is not defined in ES module scope, you can use import instead',
203+
'Cannot require() ES Module',
204204
);
205205
});
206206

0 commit comments

Comments
 (0)