diff --git a/test/native/jest.config.js b/test/native/jest.config.js index 39e5e6fc6a593..452cbb0b05eff 100644 --- a/test/native/jest.config.js +++ b/test/native/jest.config.js @@ -39,7 +39,7 @@ module.exports = { // and add it first so https://github.com/facebook/react-native/blob/v0.60.0/Libraries/react-native/react-native-implementation.js#L324-L326 doesn't pick up the Platform npm module. moduleDirectories: [ '../../node_modules/react-native/Libraries/Utilities', - '../../node_modules', + 'node_modules', ], moduleNameMapper: { // Mock the CSS modules. See https://facebook.github.io/jest/docs/en/webpack.html#handling-static-assets