From e165fef6030a5c131261a2d11794427355f23a46 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 21 Dec 2017 21:12:26 +0100 Subject: Emacs: Tell mocha to fail early --- emacs/.emacs.d/main.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/main.el') 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) -- cgit 1.4.1