UNPKG

433 BJavaScriptView Raw
1module.exports = {
2 preset: "ts-jest",
3 testEnvironment: "jsdom",
4 clearMocks: true,
5 collectCoverage: true,
6 coverageThreshold: {
7 global: {
8 branches: 100,
9 functions: 100,
10 lines: 100,
11 statements: 100,
12 },
13 },
14 coveragePathIgnorePatterns: ["/node_modules/", "<rootDir>/dist"],
15 testPathIgnorePatterns: [
16 "/node_modules/",
17 // By default we only run unit tests:
18 "e2e.test.ts",
19 ],
20};