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