const pool = new DynamicClusterPool(
min,
max,
- './tests/worker/cluster/testWorker.js',
+ './tests/worker-files/cluster/testWorker.js',
{
errorHandler: e => console.error(e)
}
const pool1 = new DynamicClusterPool(
1,
1,
- './tests/worker/cluster/testWorker.js'
+ './tests/worker-files/cluster/testWorker.js'
)
const res = await pool1.execute({ test: 'test' })
expect(res).toBeFalsy()