GT2/GT2-Android/node_modules/jest-expo/jest-preset.json

35 lines
1.2 KiB
JSON
Raw Normal View History

{
"haste": {
"defaultPlatform": "ios",
"platforms": [
"android",
"ios",
"native"
],
"providesModuleNodeModules": [
"react-native"
]
},
"moduleNameMapper": {
"^React$": "<rootDir>/node_modules/react",
"^react$": "<rootDir>/node_modules/react",
"^react-native$": "<rootDir>/node_modules/react-native",
"^react-native/(.*)$": "<rootDir>/node_modules/react-native/$1"
},
"modulePathIgnorePatterns": [
"<rootDir>/node_modules/react-native/Libraries/react-native/"
],
"transform": {
"^.+\\.js$": "babel-jest",
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/node_modules/react-native/jest/assetFileTransformer.js",
"^[./a-zA-Z0-9$_-]+\\.(ttf|otf|m4v|mov|mp4|mpeg|mpg|webm|aac|aiff|caf|m4a|mp3|wav|html|pdf|obj)$": "<rootDir>/node_modules/react-native/jest/assetFileTransformer.js"
},
"transformIgnorePatterns": [
"node_modules/(?!((jest-)?react-native|react-clone-referenced-element|expo(nent)?|@expo(nent)?/.*|react-navigation|sentry-expo))"
],
"setupFiles": [
"<rootDir>/node_modules/react-native/jest/setup.js",
"<rootDir>/node_modules/jest-expo/src/setup.js"
],
"testEnvironment": "node"
}