Add thresholds for coverage
This commit is contained in:
@@ -27,6 +27,14 @@
|
|||||||
"jest": {
|
"jest": {
|
||||||
"clearMocks": true,
|
"clearMocks": true,
|
||||||
"collectCoverage": true,
|
"collectCoverage": true,
|
||||||
|
"coverageThreshold": {
|
||||||
|
"global": {
|
||||||
|
"branches": 80,
|
||||||
|
"functions": 100,
|
||||||
|
"lines": 100,
|
||||||
|
"statements": 100
|
||||||
|
}
|
||||||
|
},
|
||||||
"moduleFileExtensions": ["js", "ts"],
|
"moduleFileExtensions": ["js", "ts"],
|
||||||
"testEnvironment": "node",
|
"testEnvironment": "node",
|
||||||
"testMatch": ["**/*.test.ts"],
|
"testMatch": ["**/*.test.ts"],
|
||||||
|
|||||||
Reference in New Issue
Block a user