Skip to content

armgit / mocha

Public Imported from GitHub
0

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

refac(_mocha.js): remove duplicate declaration

Ariel Mashraki8f4a025d00d3
diff --git a/bin/_mocha b/bin/_mocha
index 8016fd4a..3032690e 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -290,10 +290,9 @@ requires.forEach(function(mod) {
require(mod);
});
-// files
+//args
-var files = []
- , args = program.args;
+var args = program.args;
// default files to test/*.{js,coffee}