Tim Glasgow
2 years ago
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||
|
module.exports = { |
||||
|
// setupFiles: ['./jestSetup.js'],
|
||||
|
preset: 'react-native', |
||||
|
verbose: true, |
||||
|
setupFiles: ["./node_modules/react-native-gesture-handler/jestSetup.js"], |
||||
|
moduleDirectories: ['node_modules'], |
||||
|
moduleNameMapper: { |
||||
|
// '@react-native-firebase/messaging: '<rootDir>/__mock__/mockFirebase.js',
|
||||
|
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mock__/file.js" |
||||
|
}, |
||||
|
/* |
||||
|
transform: { |
||||
|
'^.+\\(ts|tsx)?$': 'ts-jest', |
||||
|
'^.+\\(js|jsx)?$': 'babel-jest', |
||||
|
} |
||||
|
*/ |
||||
|
} |
Loading…
Reference in new issue