X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fcluster%2Fdynamic.test.js;h=bd405a771b1d85f64637d3117de45be7dfabeba8;hb=13a332e67a8a208b09c673d8a4a132df657ff4e6;hp=753f59af309dfd1e83053f0e1496682f118bb7dd;hpb=1c277f5889dcbfed65ca1862efba68198dcaa99c;p=poolifier.git diff --git a/tests/pools/cluster/dynamic.test.js b/tests/pools/cluster/dynamic.test.js index 753f59af..bd405a77 100644 --- a/tests/pools/cluster/dynamic.test.js +++ b/tests/pools/cluster/dynamic.test.js @@ -77,7 +77,7 @@ describe('Dynamic cluster pool test suite', () => { './tests/worker-files/cluster/testWorker.js' ) const result = await pool1.execute() - expect(result).toBe(false) + expect(result).toStrictEqual({ ok: 1 }) // We need to clean up the resources after our test await pool1.destroy() })