forked from facebookarchive/react-360
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest-preset.json
More file actions
25 lines (25 loc) · 739 Bytes
/
jest-preset.json
File metadata and controls
25 lines (25 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"haste": {
"defaultPlatform": "vr",
"platforms": ["vr"],
"providesModuleNodeModules": [
"react-native",
"react-vr"
]
},
"moduleNameMapper": {
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp)$": "RelativeImageStub"
},
"modulePathIgnorePatterns": [
"<rootDir>/node_modules/react-native/Libraries/react-native/",
"<rootDir>/node_modules/react-native/node_modules/fbjs/",
"<rootDir>/node_modules/react-native/packager/"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|react-vr)"
],
"setupFiles": [
"<rootDir>/node_modules/react-native/jest/setup.js",
"<rootDir>/node_modules/react-vr/jest/setup.js"
]
}