Report more cleanups from work in progress PRs
[poolifier.git] / tests / worker-files / thread / longRunningWorkerHardBehavior.js
index 3c707eb55548adeb2ac587381161bb41d8adb084..120e8e5ffa3e4ce457225d831a5c8556a28027cb 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 await TestUtils.workerSleepFunction(data, 50000)
 }
 
 module.exports = new ThreadWorker(sleep, {