X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fcluster%2Ffixed.test.js;h=4aaa57c750920944e6cf2c4ed02f43104cb12fa0;hb=d4aeae5aa9e260c8c2f6d28f3133de368552c108;hp=c28b8021db11f0342ba3130146cc0e54d2b66eb5;hpb=89b09b2646d240a5a30531b2fc742fdba209fa13;p=poolifier.git diff --git a/tests/pools/cluster/fixed.test.js b/tests/pools/cluster/fixed.test.js index c28b8021..4aaa57c7 100644 --- a/tests/pools/cluster/fixed.test.js +++ b/tests/pools/cluster/fixed.test.js @@ -206,6 +206,6 @@ describe('Fixed cluster pool test suite', () => { expect( () => new FixedClusterPool(0, './tests/worker-files/cluster/testWorker.js') - ).toThrowError(new Error('Cannot instantiate a fixed pool with no worker')) + ).toThrowError('Cannot instantiate a fixed pool with no worker') }) })