Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Stop mocha tests after a failure

Chocobozzz743cb5e5c44c
diff --git a/scripts/test.sh b/scripts/test.sh
index 701dea8d04..fc607133b6 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