web: do not collect coverage when invoking "jest"

this is annoying when runnig jest --watch=all.
This commit is contained in:
Maximilian Hils 2017-05-09 19:12:56 +02:00
parent 457bc36d7f
commit 537d5fa229
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "mitmproxy",
"private": true,
"scripts": {
"test": "jest",
"test": "jest --coverage",
"build": "gulp prod",
"start": "gulp"
},
@ -15,7 +15,6 @@
"react"
],
"coverageDirectory": "./coverage",
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/src/js/filt/filt.js"
],