forked from bradzacher/mysqldump
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.json
34 lines (33 loc) · 857 Bytes
/
jest.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
{
"moduleFileExtensions": ["ts", "tsx", "js"],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.ts$",
"moduleDirectories": ["src", "node_modules"],
"globals": {
"ts-jest": {
"babelConfig": true,
"tsConfig": "tsconfig.json"
}
},
"rootDir": ".",
"collectCoverageFrom": ["src/**/*"],
"coverageReporters": ["html", "text-summary"],
"coverageDirectory": "<rootDir>/coverage",
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/interfaces/"
],
"coverageThreshold": {
"src/**/*.{ts,tsx}": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"collectCoverage": true,
"notify": false
}