}
expect(longRunningPool.workers.length).toBe(max)
await TestUtils.sleep(1500)
- // Here we expect the workers to be at the max size since that the task is still running
+ // Here we expect the workers to be at the max size since the task is still running
expect(longRunningPool.workers.length).toBe(max)
// We need to clean up the resources after our test
await longRunningPool.destroy()