commit d52d16c8b06416fc8251b28e3644c18c6b0bd944
parent a29c7fc6bad205f9acfc3545fc3e75efb691b1c5
Author: finwo <finwo@pm.me>
Date: Tue, 11 Jun 2019 14:06:33 +0200
Enforcing 10% coverage now
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/jest.config.js b/jest.config.js
@@ -40,7 +40,14 @@ module.exports = {
// ],
// An object that configures minimum threshold enforcement for coverage results
- // coverageThreshold: null,
+ coverageThreshold: {
+ global: {
+ branches : 10,
+ functions : 10,
+ lines : 10,
+ statements: 10,
+ },
+ },
// Make calling deprecated APIs throw helpful error messages
// errorOnDeprecated: false,