build(deps-dev): apply updates
[poolifier.git] / tests / pools / cluster / fixed.test.mjs
index 7d829f32858e548e30d0325266adc0bdf637b13e..426a64f00d29e051985c93371f34c9fe0ea4c86e 100644 (file)
@@ -318,10 +318,10 @@ describe('Fixed cluster 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 FixedClusterPool(0, './tests/worker-files/cluster/testWorker.js')
-    ).toThrowError('Cannot instantiate a fixed pool with zero worker')
+    ).toThrow('Cannot instantiate a fixed pool with zero worker')
   })
 })