chore: v3.0.5
[poolifier.git] / tests / pools / thread / dynamic.test.mjs
index 0918065b403314f942fc4e3422e83740cdd3e654..4fcd2d1b039c3c27e3c3308399c25e2c94a1867c 100644 (file)
@@ -73,8 +73,8 @@ describe('Dynamic thread pool test suite', () => {
   })
 
   it('Validation of inputs test', () => {
-    expect(() => new DynamicThreadPool(min)).toThrowError(
-      'Please specify a file with a worker implementation'
+    expect(() => new DynamicThreadPool(min)).toThrow(
+      "Cannot find the worker file 'undefined'"
     )
   })