build(deps-dev): apply updates
[poolifier.git] / tests / worker-files / thread / longRunningWorkerSoftBehavior.mjs
index 6441a1837a6cbf127b236e632502460a77c2966d..ae98f767e74930f161ffedadffb99e2da8219930 100644 (file)
@@ -1,14 +1,15 @@
-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)
 }
 
 export default new ThreadWorker(sleep, {
-  maxInactiveTime: 500
+  maxInactiveTime: 500,
 })