all repos — nixfiles @ dcc169f7d3d291e863dd133ef4f133f40af0481c

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

Emacs: Use more inclusive test path for mocha
Alan Pearce alan@alanpearce.eu
Thu, 21 Dec 2017 12:08:09 +0100
commit

dcc169f7d3d291e863dd133ef4f133f40af0481c

parent

40d25b9213259eb9a083882ffdf9108ae306c706

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -2115,7 +2115,7 @@ (setq mocha-reporter "tap")             (defun mocha-test-project ()
               "Test the current project."
               (interactive)
-              (mocha-run "'./{src,test}/**/*.test.js'"))))
+              (mocha-run "'./{src,lib,test}/**/*.test.js'"))))
 
 ;;;;;;; js2-refactor