diff --git a/__e2e__/__snapshots__/config.test.ts.snap b/__e2e__/__snapshots__/config.test.ts.snap index 0faf89071..8d6913027 100644 --- a/__e2e__/__snapshots__/config.test.ts.snap +++ b/__e2e__/__snapshots__/config.test.ts.snap @@ -12,7 +12,7 @@ exports[`shows up current config without unnecessary output 1`] = ` "platforms": { "ios": { "podspecPath": "<>/TestProject/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec", - "version": "5.6.1", + "version": "5.6.2", "configurations": [], "scriptPhases": [] }, diff --git a/__e2e__/config.test.ts b/__e2e__/config.test.ts index 724c9c210..6bf878042 100644 --- a/__e2e__/config.test.ts +++ b/__e2e__/config.test.ts @@ -199,7 +199,7 @@ test('should fail if using require() in ES module in react-native.config.mjs', ( 'test-command-esm', ]); expect(stderr).toMatch('error Failed to load configuration of your project'); - expect(stdout).toMatch(/Cannot require\(\) ES Module/); + expect(stdout).toMatch(/ES Module/i); }); test('should fail if using require() in ES module with "type": "module" in package.json', () => {