fix: fixes to pool initialization
[poolifier.git] / tests / pools / cluster / fixed.test.mjs
index 4471f51309c39cdb056203aa97d0c03205bb9043..426a64f00d29e051985c93371f34c9fe0ea4c86e 100644 (file)
@@ -322,6 +322,6 @@ describe('Fixed cluster pool test suite', () => {
     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')
   })
 })