2016-10-31 12:52:30 -07:00
|
|
|
{
|
|
|
|
"haste": {
|
|
|
|
"defaultPlatform": "ios",
|
2016-11-28 21:16:11 -08:00
|
|
|
"platforms": ["android", "ios", "native"],
|
2016-10-31 12:52:30 -07:00
|
|
|
"providesModuleNodeModules": [
|
|
|
|
"react-native"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"moduleNameMapper": {
|
2016-12-07 20:49:10 -08:00
|
|
|
"^React$": "<rootDir>/node_modules/react"
|
2016-10-31 12:52:30 -07:00
|
|
|
},
|
|
|
|
"modulePathIgnorePatterns": [
|
2017-07-07 02:58:55 -07:00
|
|
|
"<rootDir>/node_modules/react-native/Libraries/react-native/"
|
2016-10-31 12:52:30 -07:00
|
|
|
],
|
2017-09-06 03:18:37 -07:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.js$": "babel-jest",
|
2017-10-20 13:01:52 -07:00
|
|
|
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/node_modules/react-native/jest/assetFileTransformer.js"
|
2017-09-06 03:18:37 -07:00
|
|
|
},
|
2016-11-15 06:48:09 -08:00
|
|
|
"transformIgnorePatterns": [
|
2016-10-31 12:52:30 -07:00
|
|
|
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element)"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/node_modules/react-native/jest/setup.js"
|
|
|
|
],
|
|
|
|
"testEnvironment": "node"
|
|
|
|
}
|