2022-06-21 12:04:58 +00:00
|
|
|
module.exports = {
|
|
|
|
preset: 'ts-jest',
|
|
|
|
testEnvironment: 'node',
|
|
|
|
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.ts$',
|
|
|
|
globals: {
|
|
|
|
'ts-jest': {
|
2022-06-21 12:25:56 +00:00
|
|
|
tsconfig: './linter.tsconfig.json',
|
2022-06-21 12:04:58 +00:00
|
|
|
},
|
|
|
|
},
|
2022-06-22 10:33:00 +00:00
|
|
|
testTimeout: 20000,
|
2022-06-21 12:04:58 +00:00
|
|
|
coverageThreshold: {
|
|
|
|
global: {
|
2022-06-21 12:25:56 +00:00
|
|
|
branches: 100,
|
|
|
|
functions: 100,
|
|
|
|
lines: 100,
|
|
|
|
statements: 100,
|
2022-06-21 12:04:58 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|