Created
August 11, 2020 21:16
-
-
Save ManuViola77/d98f577c8ea35655d96dcd4654ab398e to your computer and use it in GitHub Desktop.
Jest configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| preset: 'react-native', | |
| modulePathIgnorePatterns: ['extras'], | |
| setupFiles: [ | |
| '<rootDir>/node_modules/react-native-gesture-handler/jestSetup.js', | |
| ], | |
| transformIgnorePatterns: [ | |
| 'node_modules/(?!(jest-)?react-native|react-(native|universal|navigation)-(.*)|@react-native-community/(.*)|@react-navigation/(.*)|bs-platform|@rootstrap/redux-tools)', | |
| ], | |
| verbose: true, | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment