X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerSoftBehavior.mjs;h=ae98f767e74930f161ffedadffb99e2da8219930;hb=c5db2d3ea50692486410eb1a33e5bb51d6d4181e;hp=9083e1d1b3692119bcda3608ad39738159c262b9;hpb=2eb1488903cf9551f65e987537aa6144f77b36c5;p=poolifier.git diff --git a/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs b/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs index 9083e1d1..ae98f767 100644 --- a/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs +++ b/tests/worker-files/thread/longRunningWorkerSoftBehavior.mjs @@ -1,5 +1,5 @@ -import { ThreadWorker } from '../../../lib/index.js' -import { sleepTaskFunction } from '../../test-utils.js' +import { ThreadWorker } from '../../../lib/index.cjs' +import { sleepTaskFunction } from '../../test-utils.cjs' /** * @@ -11,5 +11,5 @@ async function sleep (data) { } export default new ThreadWorker(sleep, { - maxInactiveTime: 500 + maxInactiveTime: 500, })