Brandon Presley
cc97c760bb
Running tests gives the following error: TypeError: _reactNative.BackHandler.addEventListener is not a function
12 lines
330 B
JavaScript
12 lines
330 B
JavaScript
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)',
|
|
],
|
|
setupFiles: ['./jestSetup.ts'],
|
|
};
|