Skip to content

Commit

Permalink
Try to fix native unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Mar 9, 2023
1 parent b74a912 commit e515207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/native/jest.config.js
Expand Up @@ -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
Expand Down

0 comments on commit e515207

Please sign in to comment.