X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fcluster%2Ffixed.test.mjs;h=426a64f00d29e051985c93371f34c9fe0ea4c86e;hb=d91689fda0fa7a85014ac25276cf2cf0a9d81ce2;hp=4471f51309c39cdb056203aa97d0c03205bb9043;hpb=1cc6e9ef64f399f4ca58da8079ef72a011ac4227;p=poolifier.git diff --git a/tests/pools/cluster/fixed.test.mjs b/tests/pools/cluster/fixed.test.mjs index 4471f513..426a64f0 100644 --- a/tests/pools/cluster/fixed.test.mjs +++ b/tests/pools/cluster/fixed.test.mjs @@ -322,6 +322,6 @@ describe('Fixed cluster pool test suite', () => { expect( () => new FixedClusterPool(0, './tests/worker-files/cluster/testWorker.js') - ).toThrowError('Cannot instantiate a fixed pool with zero worker') + ).toThrow('Cannot instantiate a fixed pool with zero worker') }) })