build: run CI on merge queue
[poolifier.git] / tests / worker-files / thread / asyncErrorWorker.js
index 39f4055d771d7896c3d0cdf8d490af0d8baca64f..b960997f807e499883097cc51c7bde94f5ad19c6 100644 (file)
@@ -3,7 +3,7 @@ const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
 const TestUtils = require('../../test-utils')
 
 async function error (data) {
-  return TestUtils.workerSleepFunction(
+  return TestUtils.sleepWorkerFunction(
     data,
     2000,
     true,