summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2017-12-21 21:12:26 +0100
committerAlan Pearce2017-12-21 21:12:26 +0100
commite165fef6030a5c131261a2d11794427355f23a46 (patch)
tree3954fea45c7f024c642d68990e4ce08e9b4721ed /emacs/.emacs.d
parente2f70b524de14ba342c61af2825bb331a96a7b7f (diff)
downloadnixfiles-e165fef6030a5c131261a2d11794427355f23a46.tar.lz
nixfiles-e165fef6030a5c131261a2d11794427355f23a46.tar.zst
nixfiles-e165fef6030a5c131261a2d11794427355f23a46.zip
Emacs: Tell mocha to fail early
Diffstat (limited to 'emacs/.emacs.d')
-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)