1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: "ts-jest/presets/js-with-ts",
testEnvironment: "node",
testPathIgnorePatterns: ["/__fixtures__/", "/__tests__/test-utils.ts"],
coveragePathIgnorePatterns: ["/__fixtures__/", "/__tests__/test-utils.ts"],
transformIgnorePatterns: ["/node_modules/(?!(ansi-regex)/)"],
modulePathIgnorePatterns: ["<rootDir>/node_modules", "<rootDir>/dist"],
collectCoverage: true,
verbose: true,
coverageThreshold: {
global: {
branches: 83,
functions: 87,
lines: 93,
statements: 93,
},
},
};
|