diff --git a/.gitignore b/.gitignore index c9f4bba..4398954 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ !.git* !.yarnrc.yml +coverage/ node_modules/ diff --git a/jest.config.json b/jest.config.json index a544e05..e553be9 100644 --- a/jest.config.json +++ b/jest.config.json @@ -1,3 +1,12 @@ { + "collectCoverage": true, + "coverageThreshold": { + "global": { + "branches": 100, + "functions": 100, + "lines": 100, + "statements": 100 + } + }, "testMatch": ["**/*.test.*"] }