diff --git a/benchmark/misc/console.js b/benchmark/misc/console.js index 9a08a411c51f82..40c073b19bc98d 100644 --- a/benchmark/misc/console.js +++ b/benchmark/misc/console.js @@ -106,6 +106,8 @@ function runUsingArgumentsAndApply(n, concat) { function main(conf) { const n = +conf.n; switch (conf.method) { + // '' is a default case for tests + case '': case 'restAndSpread': runUsingRestAndSpread(n, conf.concat); break; diff --git a/benchmark/misc/object-property-bench.js b/benchmark/misc/object-property-bench.js index 8ac7683cd54d7e..d6afd4e9c0bcbb 100644 --- a/benchmark/misc/object-property-bench.js +++ b/benchmark/misc/object-property-bench.js @@ -63,6 +63,8 @@ function main(conf) { const n = +conf.millions * 1e6; switch (conf.method) { + // '' is a default case for tests + case '': case 'property': runProperty(n); break; diff --git a/benchmark/misc/punycode.js b/benchmark/misc/punycode.js index f4d22557ac5d65..fd9f074b9e11f0 100644 --- a/benchmark/misc/punycode.js +++ b/benchmark/misc/punycode.js @@ -63,6 +63,8 @@ function main(conf) { const n = +conf.n; const val = conf.val; switch (conf.method) { + // '' is a default case for tests + case '': case 'punycode': runPunycode(n, val); break;