Emacs: Tell mocha to fail early
Alan Pearce alan@alanpearce.eu
Thu, 21 Dec 2017 21:12:26 +0100
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -2111,7 +2111,8 @@ (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)