2022-11-23 13:59:18 +00:00
|
|
|
module.exports = {
|
|
|
|
"preset": "react-native",
|
|
|
|
"setupFilesAfterEnv": ["@testing-library/jest-native/extend-expect"
|
|
|
|
, "../test/jest/jestSetup.js"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
],
|
2023-01-13 09:35:41 +00:00
|
|
|
"moduleNameMapper": {
|
|
|
|
'^[@./a-zA-Z0-9$_-]+\\.(png|jpg|jpeg|gif)$': '<rootDir>/../node_modules/react-native/Libraries/Image/RelativeImageStub'
|
|
|
|
},
|
2022-11-23 13:59:18 +00:00
|
|
|
"testTimeout": 60000,
|
|
|
|
"transformIgnorePatterns": [
|
2023-02-16 14:29:44 +00:00
|
|
|
"/node_modules/(?!(@react-native|react-native-haptic-feedback|react-native-redash|react-native-image-crop-picker|@react-native-community|react-native-linear-gradient|react-native-background-timer|react-native|rn-emoji-keyboard|react-native-languages|react-native-shake|react-native-reanimated|react-native-redash|react-native-permissions|@react-native-community/blur)/).*/"
|
2022-11-23 13:59:18 +00:00
|
|
|
],
|
|
|
|
"globals": {
|
|
|
|
"__TEST__": true
|
|
|
|
},
|
|
|
|
"testEnvironment": "node",
|
|
|
|
rootDir: "../../component-spec",
|
|
|
|
testMatch: [
|
2023-01-13 09:35:41 +00:00
|
|
|
"**/*__tests__*",
|
|
|
|
"**/*.component_spec.js"
|
2022-11-23 13:59:18 +00:00
|
|
|
]
|
2023-01-13 09:35:41 +00:00
|
|
|
}
|