Add thresholds for coverage

This commit is contained in:
Nick Cipollo
2022-03-31 20:43:03 -04:00
parent eed740324c
commit d37e2be74a

View File

@@ -27,6 +27,14 @@
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleFileExtensions": ["js", "ts"],
"testEnvironment": "node",
"testMatch": ["**/*.test.ts"],