-
Notifications
You must be signed in to change notification settings - Fork 12
/
jest.config.json
44 lines (44 loc) · 979 Bytes
/
jest.config.json
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
41
42
43
44
{
"moduleFileExtensions": ["js", "json", "ts"],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.jest.json"
}
},
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"testRegex": ".*\\.spec\\.ts$",
"testPathIgnorePatterns": ["/node_modules/", "/dist/"],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"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"
}