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": {
"clearMocks": true,
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"src/Globber.ts",
"src/Releases.ts"
],
"coverageThreshold": {
"global": {
"branches": 80,
"branches": 95,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleFileExtensions": ["js", "ts"],
"moduleFileExtensions": [
"js",
"ts"
],
"testEnvironment": "node",
"testMatch": ["**/*.test.ts"],
"testMatch": [
"**/*.test.ts"
],
"testRunner": "jest-circus/runner",
"transform": {
"^.+\\.ts$": "ts-jest"