From b823e890b7f9ec2a4d82c3a49651574dec72cfe4 Mon Sep 17 00:00:00 2001 From: slyg Date: Sun, 31 May 2015 09:28:15 +0200 Subject: [PATCH] Add support of --harmony_arrow_functions V8 option --- bin/_mocha | 1 + bin/mocha | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/_mocha b/bin/_mocha index 5b3c0c5b29..aa999a28c3 100755 --- a/bin/_mocha +++ b/bin/_mocha @@ -88,6 +88,7 @@ program .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('--harmony_rest_parameters', 'enable "harmony rest parameters" (iojs)') .option('--harmony_proxies', 'enable "harmony proxies" (iojs)') .option('--harmony_classes', 'enable "harmony classes" (iojs)') .option('--inline-diffs', 'display actual/expected differences inline within each string') diff --git a/bin/mocha b/bin/mocha index daa8fd910b..604a979f89 100755 --- a/bin/mocha +++ b/bin/mocha @@ -41,6 +41,7 @@ process.argv.slice(2).forEach(function(arg){ case '--harmony-generators': case '--harmony_shipping': case '--harmony_arrow_functions': + case '--harmony_rest_parameters': case '--harmony_proxies': case '--harmony_classes': case '--no-deprecation':