From 3a02f64696e723bb05b012163c328fc56dcd6514 Mon Sep 17 00:00:00 2001 From: fbarbu15 Date: Mon, 16 Oct 2023 16:59:24 +0300 Subject: [PATCH] fail a test for demo --- packages/tests/tests/filter/subscribe.node.spec.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/tests/tests/filter/subscribe.node.spec.ts b/packages/tests/tests/filter/subscribe.node.spec.ts index 9bde81f753..eb29adbb2e 100644 --- a/packages/tests/tests/filter/subscribe.node.spec.ts +++ b/packages/tests/tests/filter/subscribe.node.spec.ts @@ -52,7 +52,7 @@ describe("Waku Filter V2: Subscribe", function () { await tearDownNodes([nwaku, nwaku2], waku); }); - it("Subscribe and receive messages via lightPush", async function () { + it.only("Subscribe and receive messages via lightPush", async function () { await subscription.subscribe([TestDecoder], messageCollector.callback); await waku.lightPush.send(TestEncoder, messagePayload); @@ -62,7 +62,10 @@ describe("Waku Filter V2: Subscribe", function () { expectedMessageText: messageText, expectedContentTopic: TestContentTopic }); - expect((await nwaku.messages()).length).to.eq(1); + expect( + (await nwaku.messages()).length, + "Intentional failure for allure report" + ).to.eq(2); }); it("Subscribe and receive messages via waku relay post", async function () {