2020-06-04 07:11:26 +02:00
|
|
|
module.exports = {
|
|
|
|
testMatch: [
|
2020-06-08 02:01:02 +02:00
|
|
|
'<rootDir>/test/spec/**/*.{spec,test}.{js,jsx,ts,tsx}'
|
2020-06-04 07:11:26 +02:00
|
|
|
],
|
|
|
|
transform: {
|
|
|
|
'^.+\\.js$': './config/babelJestTransform.cjs'
|
|
|
|
},
|
2020-06-07 10:10:43 +02:00
|
|
|
moduleFileExtensions: ['js'],
|
2020-06-04 07:11:26 +02:00
|
|
|
testPathIgnorePatterns: ['node_modules'],
|
2020-06-06 02:41:38 +02:00
|
|
|
transformIgnorePatterns: ['<rootDir>/node_modules/(?!lodash-es)'],
|
2020-06-10 04:04:23 +02:00
|
|
|
bail: true,
|
2020-06-04 07:11:26 +02:00
|
|
|
verbose: true,
|
2020-06-07 10:10:43 +02:00
|
|
|
silent: false,
|
2020-06-04 07:11:26 +02:00
|
|
|
setupFilesAfterEnv: [
|
|
|
|
'<rootDir>/config/jest.setup.js'
|
2020-06-05 06:50:31 +02:00
|
|
|
],
|
2020-06-08 01:16:37 +02:00
|
|
|
coverageReporters: ['json', 'lcov', 'text', 'html'],
|
|
|
|
coveragePathIgnorePatterns: [
|
|
|
|
'bin/',
|
|
|
|
'test/'
|
|
|
|
]
|
2020-06-04 07:11:26 +02:00
|
|
|
}
|