   (interactive)
   (mocha-run (buffer-file-name)))
 
-;; Add NodeJS error format (from http://benhollis.net/blog/2015/12/20/nodejs-stack-traces-in-emacs-compilation-mode/)
-(add-to-list 'compilation-error-regexp-alist-alist '(node "^[  ]+at \\(?:[^\(\n]+ \(\\)?\\([a-zA-Z\.0-9_/-]+\\):\\([0-9]+\\):\\([0-9]+\\)\)?$" 1 2 3))
-(add-to-list 'compilation-error-regexp-alist 'node)
-
-(add-to-list 'compilation-error-regexp-alist-alist '(npm "^[  ]+at \\(?:[^\(\n]+ \(\\)?\\([a-zA-Z\.0-9_/-]+\\):\\([0-9]+\\):\\([0-9]+\\)\)?$" 1 2 3))
-(add-to-list 'compilation-error-regexp-alist 'npm)
-
 (provide 'mocha)
 ;;; mocha.el ends here

  "Run mocha in a compilation buffer.

If MOCHA-FILE is specified run just that file otherwise run MOCHA-PROJECT-TEST-DIRECTORY"
  (compile (mocha-command mocha-file))
  (when (get-buffer "*mocha tests*")
    (kill-buffer "*mocha tests*"))
  (pop-to-buffer "*compilation*")
  (rename-buffer "*mocha tests*"))

;;;###autoload
(defun mocha-test-project ()


(defvar mocha-project-test-directory nil)

(defun mocha-generate-command (&optional mocha-file)
  "The test command to run.

If MOCHA-FILE is specified run just that file otherwise run MOCHA-PROJECT-TEST-DIRECTORY"
