2020-03-04 22:36:43 +01:00
|
|
|
module.exports = {
|
2020-03-15 18:02:40 +01:00
|
|
|
moduleFileExtensions: ['ts', 'js'],
|
2020-03-04 22:36:43 +01:00
|
|
|
transform: {
|
2020-03-15 18:02:40 +01:00
|
|
|
'^.+\\.(js|ts)$': 'babel-jest',
|
2020-03-04 22:36:43 +01:00
|
|
|
},
|
2020-03-15 18:02:40 +01:00
|
|
|
verbose: false,
|
2020-03-04 22:36:43 +01:00
|
|
|
collectCoverage: true,
|
2020-08-13 23:36:23 +02:00
|
|
|
collectCoverageFrom: ['src/**/*.ts', '!**/node_modules/**', '!**/partials/**', '!**/fixture/**'],
|
2020-03-04 22:36:43 +01:00
|
|
|
coveragePathIgnorePatterns: ['node_modules', 'fixtures'],
|
2022-07-29 20:51:45 +02:00
|
|
|
coverageThreshold: {
|
|
|
|
global: {
|
|
|
|
lines: 90,
|
|
|
|
},
|
|
|
|
},
|
2020-03-04 22:36:43 +01:00
|
|
|
};
|