Skip to content

Commit bd8927e

Browse files
authored
fix: update snapshot of e2e tests (#2759)
* fix: update snapshot * update matcher
1 parent 2eb9e44 commit bd8927e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

__e2e__/__snapshots__/config.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports[`shows up current config without unnecessary output 1`] = `
1212
"platforms": {
1313
"ios": {
1414
"podspecPath": "<<REPLACED_ROOT>>/TestProject/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec",
15-
"version": "5.6.1",
15+
"version": "5.6.2",
1616
"configurations": [],
1717
"scriptPhases": []
1818
},

__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)