diff options
author | Alan Pearce | 2017-12-21 21:12:26 +0100 |
---|---|---|
committer | Alan Pearce | 2017-12-21 21:12:26 +0100 |
commit | e165fef6030a5c131261a2d11794427355f23a46 (patch) | |
tree | 3954fea45c7f024c642d68990e4ce08e9b4721ed | |
parent | e2f70b524de14ba342c61af2825bb331a96a7b7f (diff) | |
download | nixfiles-e165fef6030a5c131261a2d11794427355f23a46.tar.lz nixfiles-e165fef6030a5c131261a2d11794427355f23a46.tar.zst nixfiles-e165fef6030a5c131261a2d11794427355f23a46.zip |
Emacs: Tell mocha to fail early
-rw-r--r-- | emacs/.emacs.d/main.el | 3 |
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) |