refactor: use object destructuration at handling task execution response
[poolifier.git] / tests / worker-files / thread / emptyWorker.js
index 6a146c2653496f99238945c6648aa1dbe51ab4e2..cb076770c8f59183d24b4504453ac3157d371079 100644 (file)
@@ -1,7 +1,7 @@
 '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,