Files
react-native-firebase/jest.config.js
Darren Ackers ebc392e8fe tests: switch to ts-jest (#3578)
[skip-ci]
2020-04-29 16:00:14 +01:00

15 lines
525 B
JavaScript

module.exports = {
maxConcurrency: 10,
preset: './tests/node_modules/react-native/jest-preset.js',
transform: {
'^.+\\.(js)$': '<rootDir>/node_modules/babel-jest',
'\\.(ts|tsx)$': 'ts-jest',
},
setupFiles: ['./jest.setup.ts'],
testMatch: ['**/packages/**/__tests__/**/*.test.(ts|js)'],
modulePaths: ['node_modules', './tests/node_modules'],
testPathIgnorePatterns: ['./packages/template'],
moduleDirectories: ['node_modules', './tests/node_modules'],
moduleFileExtensions: ['ts', 'tsx', 'js'],
};