X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fcluster%2Fdynamic.test.mjs;h=afc013f165a7d2416b39c1061d329710cd183304;hb=d91689fda0fa7a85014ac25276cf2cf0a9d81ce2;hp=93dcc7fad89e8adb942ce667d99e21ebb2a91e88;hpb=7ef6859d79e3a30918f2c53c898e94cd22104622;p=poolifier.git diff --git a/tests/pools/cluster/dynamic.test.mjs b/tests/pools/cluster/dynamic.test.mjs index 93dcc7fa..afc013f1 100644 --- a/tests/pools/cluster/dynamic.test.mjs +++ b/tests/pools/cluster/dynamic.test.mjs @@ -73,7 +73,7 @@ describe('Dynamic cluster pool test suite', () => { }) it('Validation of inputs test', () => { - expect(() => new DynamicClusterPool(min)).toThrowError( + expect(() => new DynamicClusterPool(min)).toThrow( "Cannot find the worker file 'undefined'" ) })