Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Added separate test task to test `--bail`.

Guillermo Rauchb3911a71564c
diff --git a/Makefile b/Makefile
index e5abe229..e53bd7ea 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,12 @@ test-grep:
--grep fast \
test/misc/grep
+test-bail:
+ @./bin/mocha \
+ --reporter $(REPORTER) \
+ --bail \
+ test/misc/bail
+
non-tty:
@./bin/mocha \
--reporter dot \