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
/
emptyWorker.js
diff --git
a/tests/worker-files/thread/emptyWorker.js
b/tests/worker-files/thread/emptyWorker.js
index 6a146c2653496f99238945c6648aa1dbe51ab4e2..cb076770c8f59183d24b4504453ac3157d371079 100644
(file)
--- a/
tests/worker-files/thread/emptyWorker.js
+++ b/
tests/worker-files/thread/emptyWorker.js
@@
-1,7
+1,7
@@
'use strict'
'use strict'
-const { ThreadWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ThreadWorker, KillBehaviors } = require('../../../lib')
-function test (
data
) {}
+function test () {}
module.exports = new ThreadWorker(test, {
maxInactiveTime: 500,
module.exports = new ThreadWorker(test, {
maxInactiveTime: 500,