Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Pass `--allow-natives-syntax` flag to node.

Keith Cirkel4a1195a4efbf
diff --git a/bin/mocha b/bin/mocha
index 886d225c..a88de857 100755
--- a/bin/mocha
+++ b/bin/mocha
@@ -63,6 +63,7 @@ process.argv.slice(2).forEach(function(arg){
case '--prof':
case '--throw-deprecation':
case '--trace-deprecation':
+ case '--allow-natives-syntax':
args.unshift(arg);
break;
default: