mirror of
https://github.com/thelounge/thelounge
synced 2024-11-21 19:43:07 +00:00
test:mocha don't run coverage report
Tests should run the tests, not the coverage. Frequently one is debugging a test, the coverage won't change between runs but it delays the cycle considerably. Rather, if one wants to look at the coverage, one should use the "coverage" command
This commit is contained in:
parent
ae6bae69ac
commit
a12ddc75d8
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
"lint": "run-p --aggregate-output --continue-on-error lint:*",
|
||||
"start": "node index start",
|
||||
"test": "run-p --aggregate-output --continue-on-error lint:* test:*",
|
||||
"test:mocha": "cross-env NODE_ENV=test webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' nyc --nycrc-path=test/.nycrc-mocha.json mocha --require ts-node/register --colors --config=test/.mocharc.yml",
|
||||
"test:mocha": "cross-env NODE_ENV=test webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --require ts-node/register --colors --config=test/.mocharc.yml",
|
||||
"watch": "webpack --watch"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
Loading…
Reference in a new issue