repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:poolifier/poolifier
[poolifier.git]
/
tests
/
worker-files
/
thread
/
asyncErrorWorker.js
diff --git
a/tests/worker-files/thread/asyncErrorWorker.js
b/tests/worker-files/thread/asyncErrorWorker.js
index 1078982305231aa813708cda87f1d44c19fbe36d..6bc0ae6b3b19226c557ce3455fe068b7b21e8bc4 100644
(file)
--- a/
tests/worker-files/thread/asyncErrorWorker.js
+++ b/
tests/worker-files/thread/asyncErrorWorker.js
@@
-1,9
+1,9
@@
'use strict'
const { ThreadWorker, KillBehaviors } = require('../../../lib')
'use strict'
const { ThreadWorker, KillBehaviors } = require('../../../lib')
-const
TestUtils
= require('../../test-utils')
+const
{ sleepWorkerFunction }
= require('../../test-utils')
async function error (data) {
async function error (data) {
- return
TestUtils.
sleepWorkerFunction(
+ return sleepWorkerFunction(
data,
2000,
true,
data,
2000,
true,