repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/smtp-client-pool/types/node-20...
[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 6bc0ae6b3b19226c557ce3455fe068b7b21e8bc4..c73fd2919230f03234726bba99e957e86596206b 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 { sleep
Worker
Function } = require('../../test-utils')
+const { sleep
Task
Function } = require('../../test-utils')
async function error (data) {
async function error (data) {
- return sleep
Worker
Function(
+ return sleep
Task
Function(
data,
2000,
true,
data,
2000,
true,