2021-05-12 06:35:00 +00:00
|
|
|
/** @type { import('@jest/types').Config.InitialOptions } */
|
|
|
|
module.exports = {
|
2021-05-13 11:29:02 +00:00
|
|
|
preset: '../../jest-preset.js',
|
2022-05-17 12:18:06 +00:00
|
|
|
globals: {
|
|
|
|
'ts-jest': {
|
|
|
|
isolatedModules: true,
|
|
|
|
},
|
|
|
|
},
|
2021-05-12 06:35:00 +00:00
|
|
|
collectCoverage: true,
|
2021-05-13 11:29:02 +00:00
|
|
|
coveragePathIgnorePatterns: ['/node_modules/'],
|
2021-05-12 06:35:00 +00:00
|
|
|
coverageThreshold: {
|
|
|
|
global: {
|
2022-12-14 11:47:28 +00:00
|
|
|
branches: 80,
|
2021-05-12 06:35:00 +00:00
|
|
|
functions: 96,
|
|
|
|
lines: 95,
|
|
|
|
statements: 95,
|
|
|
|
},
|
|
|
|
},
|
2021-05-13 11:29:02 +00:00
|
|
|
setupFiles: ['./src/jest/setup.ts'],
|
2021-05-12 06:35:00 +00:00
|
|
|
};
|