diff --git a/test/helpers/benchmarkComparisonAdder.js b/test/helpers/benchmarkComparisonAdder.cjs similarity index 100% rename from test/helpers/benchmarkComparisonAdder.js rename to test/helpers/benchmarkComparisonAdder.cjs diff --git a/test/helpers/benchmarkComparisonReporter.js b/test/helpers/benchmarkComparisonReporter.cjs similarity index 100% rename from test/helpers/benchmarkComparisonReporter.js rename to test/helpers/benchmarkComparisonReporter.cjs diff --git a/test/helpers/benchmarkReporter.js b/test/helpers/benchmarkReporter.cjs similarity index 100% rename from test/helpers/benchmarkReporter.js rename to test/helpers/benchmarkReporter.cjs diff --git a/test/spec/proxyBenchmark.js b/test/spec/proxyBenchmark.js index 61edd46..7097790 100644 --- a/test/spec/proxyBenchmark.js +++ b/test/spec/proxyBenchmark.js @@ -29,9 +29,9 @@ if (isNode) { if (typeof Benchmark === 'undefined') { global.Benchmark = require('benchmark'); - global.benchmarkResultsToConsole = require('./../helpers/benchmarkReporter.js').benchmarkResultsToConsole; - global.benchmarkComparisonToFile = require('./../helpers/benchmarkComparisonAdder.js').benchmarkComparisonToFile; - global.benchmarkComparisonToConsole = require('./../helpers/benchmarkComparisonReporter.js').benchmarkComparisonToConsole; + global.benchmarkResultsToConsole = require('./../helpers/benchmarkReporter.cjs').benchmarkResultsToConsole; + global.benchmarkComparisonToFile = require('./../helpers/benchmarkComparisonAdder.cjs').benchmarkComparisonToFile; + global.benchmarkComparisonToConsole = require('./../helpers/benchmarkComparisonReporter.cjs').benchmarkComparisonToConsole; } const suite = new Benchmark.Suite();