X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fpools%2Fthread%2Fdynamic.test.mjs;h=4fcd2d1b039c3c27e3c3308399c25e2c94a1867c;hb=e5a344fa6735e9df8cf1a39dddc749a4dd0f8579;hp=0918065b403314f942fc4e3422e83740cdd3e654;hpb=229e9e73566ed1960ba5be0534fb3aa2eeb115eb;p=poolifier.git diff --git a/tests/pools/thread/dynamic.test.mjs b/tests/pools/thread/dynamic.test.mjs index 0918065b..4fcd2d1b 100644 --- a/tests/pools/thread/dynamic.test.mjs +++ b/tests/pools/thread/dynamic.test.mjs @@ -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'" ) })