2 const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
3 const { TaskFunctions } = require('../../test-types.cjs')
4 const { executeTaskFunction } = require('../../test-utils.cjs')
11 function test (data) {
13 data.function = data.function || TaskFunctions.jsonIntegerSerialization
14 return executeTaskFunction(data)
17 module.exports = new ClusterWorker(test, {
18 killBehavior: KillBehaviors.HARD,