enforce 100% test coverage

This commit is contained in:
grantbirki
2023-04-13 23:11:46 +01:00
parent f28358b33b
commit c21c0b1aa2

View File

@@ -42,5 +42,21 @@
"bugs": {
"url": "https://github.com/actions/deploy-pages/issues"
},
"homepage": "https://github.com/actions/deploy-pages#readme"
"homepage": "https://github.com/actions/deploy-pages#readme",
"jest": {
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
],
"coverageThreshold": {
"global": {
"lines": 100
}
}
}
}