Permalink
Browse files

Make mocha tests --bail

  • Loading branch information...
1 parent 4837d08 commit 039b6995b6e4b8ba758d7c1b22a9a185e469b69b Chakrit Wichian committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -19,7 +19,7 @@ TDD_REPORTER = min
COVER_REPORTER = mocha-istanbul
# Command-line tools options
-MOCHA_OPTS = --timeout $(TEST_TIMEOUT) --reporter $(TEST_REPORTER) --globals $(GLOBALS)
+MOCHA_OPTS = --bail --timeout $(TEST_TIMEOUT) --reporter $(TEST_REPORTER) --globals $(GLOBALS)
MOCHA_TDD_OPTS = $(MOCHA_OPTS) --watch --reporter $(TDD_REPORTER)
MOCHA_COVER_OPTS = $(MOCHA_OPTS) --reporter $(COVER_REPORTER)
ISTANBUL_OPTS = instrument --variable global.__coverage__ --no-compact

0 comments on commit 039b699

Please sign in to comment.