all repos — nixfiles @ e165fef6030a5c131261a2d11794427355f23a46

System and user configuration, managed by nix and home-manager

Emacs: Tell mocha to fail early

Alan Pearce
commit

e165fef6030a5c131261a2d11794427355f23a46

parent

e2f70b524de14ba342c61af2825bb331a96a7b7f

1 file changed, 2 insertions(+), 1 deletion(-)

jump to
M emacs/.emacs.d/main.elemacs/.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)