summary refs log tree commit diff stats
path: root/emacs
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
parente2f70b524de14ba342c61af2825bb331a96a7b7f (diff)
downloaddotfiles-e165fef6030a5c131261a2d11794427355f23a46.tar.lz
dotfiles-e165fef6030a5c131261a2d11794427355f23a46.tar.zst
dotfiles-e165fef6030a5c131261a2d11794427355f23a46.zip
Emacs: Tell mocha to fail early
Diffstat (limited to 'emacs')
-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 a9f48c5..bd68705 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)