test: fix async/await imbalance
[poolifier.git] / tests / pools / thread / fixed.test.mjs
index 3969c83ad7464c728d7df33dd092673c16384734..fd7f5935697d9e2074d1f9734b6b2345159e9775 100644 (file)
@@ -338,7 +338,7 @@ describe('Fixed thread pool test suite', () => {
     await pool.destroy()
   })
 
-  it('Verify that a pool with zero worker fails', async () => {
+  it('Verify that a pool with zero worker fails', () => {
     expect(
       () => new FixedThreadPool(0, './tests/worker-files/thread/testWorker.mjs')
     ).toThrowError('Cannot instantiate a fixed pool with zero worker')