chore: add changelog entry
[poolifier.git] / tests / worker-files / thread / longRunningWorkerHardBehavior.js
index 3c707eb55548adeb2ac587381161bb41d8adb084..a295da7bc647aa7ab5e49ab432d92096f11968a6 100644 (file)
@@ -3,7 +3,7 @@ const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
 const TestUtils = require('../../test-utils')
 
 async function sleep (data) {
-  return TestUtils.workerSleepFunction(data, 50000)
+  return TestUtils.sleepWorkerFunction(data, 50000)
 }
 
 module.exports = new ThreadWorker(sleep, {