refactor: split TestUtils class into arrow functions
[poolifier.git] / tests / worker-files / thread / longRunningWorkerHardBehavior.js
index 791853e368a62b24f4da5520fb8b0b81885ea316..d81f7f9020c1500d715a8ac5077c91c6e0334701 100644 (file)
@@ -1,9 +1,9 @@
 'use strict'
 const { ThreadWorker, KillBehaviors } = require('../../../lib')
-const TestUtils = require('../../test-utils')
+const { sleepWorkerFunction } = require('../../test-utils')
 
 async function sleep (data) {
-  return TestUtils.sleepWorkerFunction(data, 50000)
+  return sleepWorkerFunction(data, 50000)
 }
 
 module.exports = new ThreadWorker(sleep, {