fix: fixes to pool initialization
[poolifier.git] / tests / pools / cluster / dynamic.test.mjs
index 93dcc7fad89e8adb942ce667d99e21ebb2a91e88..afc013f165a7d2416b39c1061d329710cd183304 100644 (file)
@@ -73,7 +73,7 @@ describe('Dynamic cluster pool test suite', () => {
   })
 
   it('Validation of inputs test', () => {
-    expect(() => new DynamicClusterPool(min)).toThrowError(
+    expect(() => new DynamicClusterPool(min)).toThrow(
       "Cannot find the worker file 'undefined'"
     )
   })