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

View File

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