docs: refine changelog entries
[poolifier.git] / tests / worker-files / thread / asyncWorker.js
index 6508d6dac5d313bcd41b458643fa1a7efd3d1124..5af97b0734e6da16643b763a785d4069e6f48522 100644 (file)
@@ -1,9 +1,9 @@
 'use strict'
-const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
+const { ThreadWorker, KillBehaviors } = require('../../../lib')
 const TestUtils = require('../../test-utils')
 
 async function sleep (data) {
-  return TestUtils.workerSleepFunction(data, 2000)
+  return TestUtils.sleepWorkerFunction(data, 2000)
 }
 
 module.exports = new ThreadWorker(sleep, {