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