From 7ebef000df647c4fbb722120dc48f42575382af0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 26 Jun 2023 14:53:03 +0200 Subject: [PATCH] refactor: use named export in benchmarking code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .../workers/worker-nodes/function-to-bench-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.js b/benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.js index 9fa8b472..b9a9ea26 100644 --- a/benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.js +++ b/benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.js @@ -1,3 +1,3 @@ 'use strict' const functionToBench = require('../../functions/function-to-bench') -module.exports = functionToBench +module.exports = { functionToBench } -- 2.34.1