BlueWallet/jest.config.js

12 lines
420 B
JavaScript
Raw Normal View History

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