repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change killBehaviorEnumeration to killBehaviorTypes
[poolifier.git]
/
tests
/
worker
/
thread
/
errorWorker.js
diff --git
a/tests/worker/thread/errorWorker.js
b/tests/worker/thread/errorWorker.js
index 6b7ee3c9e6dccdfcbcf063097e005ce8c531907e..7f7fdadd6ff4fe612588d2b6fc7ecd1e27fc74db 100644
(file)
--- a/
tests/worker/thread/errorWorker.js
+++ b/
tests/worker/thread/errorWorker.js
@@
-1,5
+1,5
@@
'use strict'
'use strict'
-const { ThreadWorker, killBehavior
Enumeration
} = require('../../../lib/index')
+const { ThreadWorker, killBehavior
Types
} = require('../../../lib/index')
function error (data) {
throw new Error(data)
function error (data) {
throw new Error(data)
@@
-7,5
+7,5
@@
function error (data) {
module.exports = new ThreadWorker(error, {
maxInactiveTime: 500,
module.exports = new ThreadWorker(error, {
maxInactiveTime: 500,
- killBehavior: killBehavior
Enumeration
.HARD
+ killBehavior: killBehavior
Types
.HARD
})
})