-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjest.config.json
37 lines (37 loc) · 946 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
{
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testEnvironment": "node",
"reporters": [
"default",
[
"jest-html-reporter",
{
"outputPath": "../reports/html/jest.junit.html",
"includeFailureMsg": true
}
],
[
"jest-junit",
{
"outputDirectory": "./reports/junit/",
"outputName": "jest.junit.xml"
}
]
],
"collectCoverageFrom": ["**/*.{ts,js}"],
"coverageDirectory": "../reports/coverage",
"coverageReporters": ["html", "text", "text-summary", "cobertura"],
"coverageThreshold": {
"global": {
"statements": 8.33,
"branches": 8.7,
"functions": 13.33,
"lines": 7.02
}
},
"testRunner": "jest-circus/runner"
}