Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Fixed -d for --debug support

TJ Holowaychuk249b9a002054
diff --git a/bin/mocha b/bin/mocha
index 03b57a9a..a0704a7a 100755
--- a/bin/mocha
+++ b/bin/mocha
@@ -4,7 +4,7 @@ DEBUG=0
for arg in $@; do
case $arg in
- --debug) DEBUG=1 ;;
+ -d|--debug) DEBUG=1 ;;
esac
done