Skip to content

Commit 028f329

Browse files
committed
Return exit code based on mocha exit code.
1 parent d9a37fd commit 028f329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"lint": "eslint .",
3939
"serve": "http-server . -a 127.0.0.1 -p $PORT -s",
4040
"mocha": "mocha-chrome http://127.0.0.1:$PORT/test",
41-
"unit": "PORT=$(get-port) concurrently -k 'npm run serve' 'npm run mocha'",
41+
"unit": "PORT=$(get-port) concurrently -k -s first 'npm run serve' 'npm run mocha'",
4242
"test": "npm run lint && npm run unit",
4343
"build": "cd js && uglifyjs canvas-to-blob.js -c -m -o canvas-to-blob.min.js --source-map url=canvas-to-blob.min.js.map",
4444
"preversion": "npm test",

0 commit comments

Comments
 (0)