Tweak coverage settings.

This commit is contained in:
Nick Cipollo
2022-03-31 22:52:04 -04:00
parent d37e2be74a
commit 18990f60e0

View File

@@ -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"