repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: generate documentation
[poolifier.git]
/
tests
/
worker-files
/
thread
/
longRunningWorkerSoftBehavior.js
diff --git
a/tests/worker-files/thread/longRunningWorkerSoftBehavior.js
b/tests/worker-files/thread/longRunningWorkerSoftBehavior.js
index 8adb43a7e322eccdbd7ba70e847310eb2ee63a9c..eda5a4059643c3efd092a9e269ad54b18fc8ecd7 100644
(file)
--- a/
tests/worker-files/thread/longRunningWorkerSoftBehavior.js
+++ b/
tests/worker-files/thread/longRunningWorkerSoftBehavior.js
@@
-1,9
+1,9
@@
'use strict'
const { ThreadWorker } = require('../../../lib')
'use strict'
const { ThreadWorker } = require('../../../lib')
-const
TestUtils
= require('../../test-utils')
+const
{ sleepWorkerFunction }
= require('../../test-utils')
async function sleep (data) {
async function sleep (data) {
- return
TestUtils.
sleepWorkerFunction(data, 50000)
+ return sleepWorkerFunction(data, 50000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {