test: switch thread worker to ESM
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 29 Sep 2023 22:46:14 +0000 (00:46 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 29 Sep 2023 22:46:14 +0000 (00:46 +0200)
commitb2fd3f4a217ac09110da00b3b65dcdd36de4bf74
tree791eba62816fae4e865ad28f68013de54f76ba76
parenta074ffee1b46f43d0dcfba58128748c7492104dd
test: switch thread worker to ESM

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
23 files changed:
tests/pools/abstract-pool.test.mjs
tests/pools/selection-strategies/selection-strategies.test.mjs
tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.mjs
tests/pools/selection-strategies/worker-choice-strategy-context.test.mjs
tests/pools/thread/dynamic.test.mjs
tests/pools/thread/fixed.test.mjs
tests/pools/worker-node.test.mjs
tests/utils.test.mjs
tests/worker-files/thread/asyncErrorWorker.mjs [moved from tests/worker-files/thread/asyncErrorWorker.js with 51% similarity]
tests/worker-files/thread/asyncWorker.js [deleted file]
tests/worker-files/thread/asyncWorker.mjs [new file with mode: 0644]
tests/worker-files/thread/echoWorker.js [deleted file]
tests/worker-files/thread/echoWorker.mjs [new file with mode: 0644]
tests/worker-files/thread/emptyWorker.js [deleted file]
tests/worker-files/thread/emptyWorker.mjs [new file with mode: 0644]
tests/worker-files/thread/errorWorker.mjs [moved from tests/worker-files/thread/errorWorker.js with 53% similarity]
tests/worker-files/thread/longRunningWorkerHardBehavior.js [deleted file]
tests/worker-files/thread/longRunningWorkerHardBehavior.mjs [new file with mode: 0644]
tests/worker-files/thread/longRunningWorkerSoftBehavior.js [deleted file]
tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs [new file with mode: 0644]
tests/worker-files/thread/testMultipleTaskFunctionsWorker.mjs [moved from tests/worker-files/thread/testMultipleTaskFunctionsWorker.js with 56% similarity]
tests/worker-files/thread/testWorker.js [deleted file]
tests/worker-files/thread/testWorker.mjs [new file with mode: 0644]