diff --git a/__tests__/worker-pool.ts b/__tests__/worker-pool.ts index d363246..2fbb62e 100644 --- a/__tests__/worker-pool.ts +++ b/__tests__/worker-pool.ts @@ -1,5 +1,7 @@ import { job } from '../src/job' +afterAll(() => stop()) + describe('Worker Pool Testing', () => { // todo: find a better way to test worker pool xit('should execute at most 4 jobs at a time', async () => {