Change killBehaviorEnumeration to killBehaviorTypes
[poolifier.git] / tests / worker / thread / testWorker.js
index 77dfdc8e050ccfca7a9a67f874b602e088c5234d..7510f00bf51086c7078f1bdeed385bd13a5707d8 100644 (file)
@@ -1,5 +1,5 @@
 'use strict'
-const { ThreadWorker, killBehaviorEnumeration } = require('../../../lib/index')
+const { ThreadWorker, killBehaviorTypes } = require('../../../lib/index')
 const { isMainThread } = require('worker_threads')
 
 function test (data) {
@@ -14,5 +14,5 @@ function test (data) {
 
 module.exports = new ThreadWorker(test, {
   maxInactiveTime: 500,
-  killBehavior: killBehaviorEnumeration.HARD
+  killBehavior: killBehaviorTypes.HARD
 })