'use strict'
-const { ThreadWorker } = 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, {
+ killBehavior: KillBehaviors.HARD,
+ maxInactiveTime: 500
+})