it('Simulate worker not found during increaseWorkersTask', () => {
const pool = new StubPoolWithTasksMapClear(
1,
- './tests/worker/cluster/testWorker.js',
+ './tests/worker-files/cluster/testWorker.js',
{
errorHandler: e => console.error(e)
}
it('Simulate worker not found during decreaseWorkersTasks', () => {
const pool = new StubPoolWithTasksMapClear(
1,
- './tests/worker/cluster/testWorker.js',
+ './tests/worker-files/cluster/testWorker.js',
{
errorHandler: e => console.error(e)
}
expect(() => {
const pool = new StubPoolWithIsMainMethod(
1,
- './tests/worker/cluster/testWorker.js',
+ './tests/worker-files/cluster/testWorker.js',
{
errorHandler: e => console.error(e)
}