☕️ Classic, reliable, trusted test framework for Node.js and the browser
Fixed bug when --globals is not used. Closes #101
Tj Holowaychuk5b702fe0f272
diff --git a/bin/mocha b/bin/mochaindex a7352c00..41d64097 100755--- a/bin/mocha+++ b/bin/mocha@@ -46,7 +46,7 @@ program.option('-C, --no-colors', 'force disabling of colors').option('-c, --colors', 'force enabling of colors').option('-G, --growl', 'enable growl notification support')- .option('--globals <names>', 'allow the given comma-delimited global [names]', list)+ .option('--globals <names>', 'allow the given comma-delimited global [names]', list, []).option('--interfaces', 'display available interfaces').option('--reporters', 'display available reporters')