refactor: use named export in benchmarking code
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 26 Jun 2023 12:53:03 +0000 (14:53 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 26 Jun 2023 12:53:03 +0000 (14:53 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.js

index 9fa8b4724ab6c2ccae93ede2074cf236e15dce2d..b9a9ea2635f54618991f8e9cd691b94e5f5fcf4b 100644 (file)
@@ -1,3 +1,3 @@
 'use strict'
 const functionToBench = require('../../functions/function-to-bench')
-module.exports = functionToBench
+module.exports = { functionToBench }