Make test coverage to be optional.

This commit is contained in:
Oleksii Trekhleb 2018-04-05 06:27:06 +03:00
parent 97e6120b3f
commit 7f64f55397
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
module.exports = {
verbose: false,
collectCoverage: true,
collectCoverage: false,
coverageDirectory: './coverage/',
};

View File

@ -6,7 +6,7 @@
"scripts": {
"lint": "eslint ./src/*",
"test": "jest",
"ci": "npm run lint && npm run test",
"ci": "npm run lint && npm run test -- --coverage",
"codecov": "codecov"
},
"repository": {