2024-06-06 04:07:50 +02:00
|
|
|
module.exports = {
|
2024-08-08 14:12:04 +02:00
|
|
|
testEnvironment: '<rootDir>/tests/custom-environment.js',
|
|
|
|
reporters: ['default', ['<rootDir>/tests/custom-reporter.js', {}]],
|
2024-06-06 04:07:50 +02:00
|
|
|
preset: 'react-native',
|
|
|
|
transform: {
|
|
|
|
'^.+\\.(ts|tsx)$': 'ts-jest',
|
|
|
|
},
|
|
|
|
moduleFileExtensions: ['js', 'json', 'ts', 'tsx'],
|
2024-06-15 23:57:51 +02:00
|
|
|
transformIgnorePatterns: ['node_modules/(?!((jest-)?react-native(-.*)?|@react-native(-community)?)|@rneui|silent-payments/)'],
|
2024-06-06 04:07:50 +02:00
|
|
|
setupFiles: ['./tests/setup.js'],
|
|
|
|
watchPathIgnorePatterns: ['<rootDir>/node_modules'],
|
|
|
|
setupFilesAfterEnv: ['./tests/setupAfterEnv.js'],
|
|
|
|
};
|