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