Skip to content

armgit / mocha

Public Imported from GitHub
0

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

add support for some iojs flags

Moshe Kolodny122577c89b1d
diff --git a/bin/_mocha b/bin/_mocha
index 3032690e..bc9a0912 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -85,6 +85,8 @@ program
.option('--harmony-collections', 'enable harmony collections (sets, maps, and weak maps)')
.option('--harmony-generators', 'enable harmony generators')
.option('--harmony-proxies', 'enable harmony proxies')
+ .option('--harmony_shipping', 'enable all shipped harmony fetaures (iojs)')
+ .option('--harmony_arrow_functions', 'enable "harmony arrow functions" (iojs)')
.option('--inline-diffs', 'display actual/expected differences inline within each string')
.option('--interfaces', 'display available interfaces')
.option('--no-deprecation', 'silence deprecation warnings')
diff --git a/bin/mocha b/bin/mocha
index b5dbc72f..beb8268f 100755
--- a/bin/mocha
+++ b/bin/mocha
@@ -31,6 +31,8 @@ process.argv.slice(2).forEach(function(arg){
case '--harmony-proxies':
case '--harmony-collections':
case '--harmony-generators':
+ case '--harmony_shipping':
+ case '--harmony_arrow_functions':
case '--no-deprecation':
case '--prof':
case '--throw-deprecation':