mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
15 lines
525 B
JavaScript
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'],
|
|
};
|