mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
web: do not collect coverage when invoking "jest"
this is annoying when runnig jest --watch=all.
This commit is contained in:
parent
457bc36d7f
commit
537d5fa229
@ -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"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user