From: Jérôme Benoit Date: Mon, 26 Jun 2023 12:53:03 +0000 (+0200) Subject: refactor: use named export in benchmarking code X-Git-Tag: v2.6.4~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7ebef000df647c4fbb722120dc48f42575382af0;p=poolifier.git refactor: use named export in benchmarking code Signed-off-by: Jérôme Benoit --- 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 }