mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 05:50:22 +00:00
Parallelize npm test
After this, tests run in ~7s locally vs. ~14s without. ¯\_(ツ)_/¯ One caveat is that coloring must be forced now. Hope this looks okay on Travis.
This commit is contained in:
parent
823ed0153f
commit
2a8feaa454
1 changed files with 4 additions and 5 deletions
|
@ -18,11 +18,10 @@
|
|||
"build": "npm-run-all build:*",
|
||||
"build:webpack": "webpack",
|
||||
"watch": "webpack --watch",
|
||||
"test": "npm-run-all -c test:* lint",
|
||||
"test:mocha": "mocha",
|
||||
"lint": "npm-run-all -c lint:*",
|
||||
"lint:js": "eslint . --report-unused-disable-directives",
|
||||
"lint:css": "stylelint \"client/**/*.css\""
|
||||
"test": "npm-run-all --aggregate-output --parallel --continue-on-error test:* lint:*",
|
||||
"test:mocha": "mocha --colors",
|
||||
"lint:js": "eslint . --report-unused-disable-directives --color",
|
||||
"lint:css": "stylelint --color \"client/**/*.css\""
|
||||
},
|
||||
"keywords": [
|
||||
"lounge",
|
||||
|
|
Loading…
Reference in a new issue