Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
lock down code coverage thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
hharnisc committed Jan 27, 2017
1 parent 47da292 commit b7ccb65
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@
"start": "start-storybook -p 9001",
"deploy-storybook": "storybook-to-ghpages",
"lint": "./node_modules/eslint/bin/eslint.js . --ignore-pattern coverage .storybook node_modules",
"test": "npm run lint && jest",
"test": "npm run lint && jest --coverage",
"test-watch": "jest --watch",
"test-update": "jest -u"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"coverageThreshold": {
"global": {
"branches": 93,
"functions": 100,
"lines": 99,
"statements": 99
}
}
},
"repository": {
Expand Down

0 comments on commit b7ccb65

Please sign in to comment.