Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fixed mocha-debug(1). Closes #232

Tj Holowaychuk1a8f93703511
diff --git a/bin/mocha-debug b/bin/mocha-debug
index 0968bcf8..185634e3 100755
--- a/bin/mocha-debug
+++ b/bin/mocha-debug
@@ -1,3 +1,2 @@
-#!/usr/bin/env node debug
-
-require('./mocha');
\ No newline at end of file
+#!/usr/bin/env bash
+node debug $(dirname $0)/mocha
\ No newline at end of file