-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjest.config.json
More file actions
40 lines (40 loc) · 993 Bytes
/
jest.config.json
File metadata and controls
40 lines (40 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"moduleFileExtensions": ["js", "json", "ts"],
"coverageProvider": "v8",
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 40,
"lines": 50,
"statements": 50
}
},
"testRegex": "packages/.*\\.spec\\.ts$",
"testPathIgnorePatterns": ["/node_modules/", "/dist/", "/examples/"],
"transform": {
"^.+\\.ts$": ["ts-jest", { "tsconfig": "tsconfig.jest.json" }]
},
"collectCoverageFrom": [
"packages/**/*.ts",
"!packages/**/*.d.ts",
"!packages/**/*.interface.ts",
"!packages/**/*.e2e-spec.ts",
"!packages/**/*.factory.ts",
"!packages/**/*.seeder.ts",
"!packages/**/*.seeding.ts",
"!packages/nestjs-samples/src/**/main.ts",
"!**/node_modules/**",
"!**/__mocks__/**",
"!**/__stubs__/**",
"!**/__fixtures__/**"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"text-summary",
"json",
"json-summary",
"lcovonly"
],
"testEnvironment": "node"
}