X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerSoftBehavior.mjs;h=4b7c15004d72b9e0a18d3e256d789e76156e0974;hb=bcf1c155ec2e2d9208c8f818abd031662bd61d7f;hp=6441a1837a6cbf127b236e632502460a77c2966d;hpb=229e9e73566ed1960ba5be0534fb3aa2eeb115eb;p=poolifier.git diff --git a/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs b/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs index 6441a183..4b7c1500 100644 --- a/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs +++ b/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs @@ -1,9 +1,10 @@ -import { ThreadWorker } from '../../../lib/index.js' -import { sleepTaskFunction } from '../../test-utils.js' +import { ThreadWorker } from '../../../lib/index.cjs' +import { sleepTaskFunction } from '../../test-utils.cjs' /** * * @param data + * @returns */ async function sleep (data) { return sleepTaskFunction(data, 50000)