repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: add queue tests
[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 39f4055d771d7896c3d0cdf8d490af0d8baca64f..ac9663304c101eb49504fe8ce989c7610228afe8 100644
(file)
--- a/
tests/worker-files/thread/asyncErrorWorker.js
+++ b/
tests/worker-files/thread/asyncErrorWorker.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ThreadWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ThreadWorker, KillBehaviors } = require('../../../lib')
const TestUtils = require('../../test-utils')
async function error (data) {
const TestUtils = require('../../test-utils')
async function error (data) {
- return TestUtils.
workerSleep
Function(
+ return TestUtils.
sleepWorker
Function(
data,
2000,
true,
data,
2000,
true,