2022-10-29 04:14:27 +00:00
|
|
|
module.exports = {
|
|
|
|
preset: 'react-native',
|
|
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
|
|
transform: {
|
|
|
|
'^.+\\.(js|jsx)$': 'babel-jest',
|
|
|
|
},
|
|
|
|
transformIgnorePatterns: [
|
|
|
|
'node_modules/(?!(jest-)?@?react-native|@react-native-community|@react-navigation)',
|
|
|
|
],
|
2022-10-29 23:56:58 +00:00
|
|
|
setupFiles: [
|
|
|
|
'./node_modules/react-native-gesture-handler/jestSetup',
|
|
|
|
'./jestSetup.ts',
|
|
|
|
],
|
2022-10-31 08:00:10 +00:00
|
|
|
}
|