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