test: refine test naming
[poolifier.git] / tests / worker-files / cluster / longRunningWorkerSoftBehavior.cjs
index 91eb2b3523c0986410685dfdd0bec2b52dd90fff..4a5bf10fee5c01c91ca3b23b94e322b38d007093 100644 (file)
@@ -2,10 +2,14 @@
 const { ClusterWorker } = require('../../../lib/index.cjs')
 const { sleepTaskFunction } = require('../../test-utils.cjs')
 
+/**
+ *
+ * @param data
+ */
 async function sleep (data) {
   return sleepTaskFunction(data, 50000)
 }
 
 module.exports = new ClusterWorker(sleep, {
-  maxInactiveTime: 500
+  maxInactiveTime: 500,
 })