Tweak coverage settings.
This commit is contained in:
15
package.json
15
package.json
@@ -27,17 +27,26 @@
|
|||||||
"jest": {
|
"jest": {
|
||||||
"clearMocks": true,
|
"clearMocks": true,
|
||||||
"collectCoverage": true,
|
"collectCoverage": true,
|
||||||
|
"coveragePathIgnorePatterns": [
|
||||||
|
"src/Globber.ts",
|
||||||
|
"src/Releases.ts"
|
||||||
|
],
|
||||||
"coverageThreshold": {
|
"coverageThreshold": {
|
||||||
"global": {
|
"global": {
|
||||||
"branches": 80,
|
"branches": 95,
|
||||||
"functions": 100,
|
"functions": 100,
|
||||||
"lines": 100,
|
"lines": 100,
|
||||||
"statements": 100
|
"statements": 100
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"moduleFileExtensions": ["js", "ts"],
|
"moduleFileExtensions": [
|
||||||
|
"js",
|
||||||
|
"ts"
|
||||||
|
],
|
||||||
"testEnvironment": "node",
|
"testEnvironment": "node",
|
||||||
"testMatch": ["**/*.test.ts"],
|
"testMatch": [
|
||||||
|
"**/*.test.ts"
|
||||||
|
],
|
||||||
"testRunner": "jest-circus/runner",
|
"testRunner": "jest-circus/runner",
|
||||||
"transform": {
|
"transform": {
|
||||||
"^.+\\.ts$": "ts-jest"
|
"^.+\\.ts$": "ts-jest"
|
||||||
|
|||||||
Reference in New Issue
Block a user