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