We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9582b60 commit b9dc36fCopy full SHA for b9dc36f
package.json
@@ -40,13 +40,15 @@
40
},
41
"jest": {
42
"preset": "react-native",
43
- "moduleFileExtensions": [
44
- "ts",
45
- "tsx",
46
- "js",
47
- "jsx",
48
- "json",
49
- "node"
+ "transform": {
+ "^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp|ttf|otf|m4v|mov|mp4|mpeg|mpg|webm|aac|aiff|caf|m4a|mp3|wav|html|pdf|obj)$": "<rootDir>/src/mocks/Files/index.js"
+ },
+ "transformIgnorePatterns": [
+ "node_modules/(?!(jest-)?react-native|@react-native-community|@react-navigation)"
+ ],
+ "setupFiles": [
50
+ "./node_modules/react-native-gesture-handler/jestSetup.js",
51
+ "<rootDir>/src/mocks/Setup/index.ts"
52
]
53
54
"browserslist": {
0 commit comments