refactor: split TestUtils class into arrow functions
[poolifier.git] / tests / worker-files / thread / longRunningWorkerSoftBehavior.js
index 8adb43a7e322eccdbd7ba70e847310eb2ee63a9c..eda5a4059643c3efd092a9e269ad54b18fc8ecd7 100644 (file)
@@ -1,9 +1,9 @@
 'use strict'
 const { ThreadWorker } = 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, {