refactor(ci): cleanup GH actions
[poolifier.git] / tests / worker-files / thread / longRunningWorkerSoftBehavior.mjs
index 9083e1d1b3692119bcda3608ad39738159c262b9..ae98f767e74930f161ffedadffb99e2da8219930 100644 (file)
@@ -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,
 })