summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index a9f48c5f..bd687056 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2111,7 +2111,8 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
 (use-package mocha
   :after js2-mode
   :config (progn
-            (setq mocha-reporter "tap")
+            (setq mocha-reporter "tap"
+                  mocha-options "--bail")
             (defun mocha-test-project ()
               "Test the current project."
               (interactive)