diff --git a/packages/tests/tests/health-manager/node.spec.ts b/packages/tests/tests/health-manager/node.spec.ts index f29e4d98b9..9645a86b48 100644 --- a/packages/tests/tests/health-manager/node.spec.ts +++ b/packages/tests/tests/health-manager/node.spec.ts @@ -44,9 +44,7 @@ describe("Node Health Status Matrix Tests", function () { ); if (lightPushPeers > 0) { - await waku.lightPush.send(TestEncoder, messagePayload, { - forceUseAllPeers: true - }); + await waku.lightPush.send(TestEncoder, messagePayload); } if (filterPeers > 0) { diff --git a/packages/tests/tests/light-push/peer_management.spec.ts b/packages/tests/tests/light-push/peer_management.spec.ts index 218e7a6a89..d837b28aed 100644 --- a/packages/tests/tests/light-push/peer_management.spec.ts +++ b/packages/tests/tests/light-push/peer_management.spec.ts @@ -50,13 +50,9 @@ describe("Waku Light Push: Connection Management: E2E", function () { // skipped because of https://github.com/waku-org/js-waku/pull/2155#discussion_r1787452696 it.skip("Failed peers are renewed", async function () { // send a lightpush request -- should have all successes - const response1 = await waku.lightPush.send( - encoder, - { - payload: utf8ToBytes("Hello_World") - }, - { forceUseAllPeers: true } - ); + const response1 = await waku.lightPush.send(encoder, { + payload: utf8ToBytes("Hello_World") + }); expect(response1.successes.length).to.be.equal( waku.lightPush.numPeersToUse diff --git a/packages/tests/tests/light-push/single_node/multiple_pubsub.node.spec.ts b/packages/tests/tests/light-push/single_node/multiple_pubsub.node.spec.ts index 52cb6f14f8..02e6c7668a 100644 --- a/packages/tests/tests/light-push/single_node/multiple_pubsub.node.spec.ts +++ b/packages/tests/tests/light-push/single_node/multiple_pubsub.node.spec.ts @@ -432,13 +432,9 @@ describe("Waku Light Push (named sharding): Multiple PubsubTopics", function () const { failures: f1 } = await waku.lightPush.send(customEncoder1, { payload: utf8ToBytes("M1") }); - const { failures: f2 } = await waku.lightPush.send( - customEncoder2, - { - payload: utf8ToBytes("M2") - }, - { forceUseAllPeers: true } - ); + const { failures: f2 } = await waku.lightPush.send(customEncoder2, { + payload: utf8ToBytes("M2") + }); expect(f1).to.be.empty; expect(f2).to.be.empty;