BlueWallet/jest.config.js
Marcos Rodriguez Velez e45533bea9 Update jest.config.js
2024-08-08 08:12:04 -04:00

14 lines
557 B
JavaScript

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