From 743cb5e5c44c4ba97a877e9a172adabd666c9852 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 24 Jun 2017 10:37:43 +0200 Subject: Stop mocha tests after a failure --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/test.sh b/scripts/test.sh index 701dea8d0..fc607133b 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -5,4 +5,4 @@ npm test || exit -1 cd .. || exit -1 npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1 -mocha server/tests +mocha --bail server/tests -- cgit v1.2.3