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
@ -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 New Issue
Block a user