fail a test for demo

This commit is contained in:
fbarbu15 2023-10-16 16:59:24 +03:00
parent 0fc136ab11
commit 3a02f64696
No known key found for this signature in database
GPG Key ID: D75221C8DEA22501

View File

@ -52,7 +52,7 @@ describe("Waku Filter V2: Subscribe", function () {
await tearDownNodes([nwaku, nwaku2], waku); 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 subscription.subscribe([TestDecoder], messageCollector.callback);
await waku.lightPush.send(TestEncoder, messagePayload); await waku.lightPush.send(TestEncoder, messagePayload);
@ -62,7 +62,10 @@ describe("Waku Filter V2: Subscribe", function () {
expectedMessageText: messageText, expectedMessageText: messageText,
expectedContentTopic: TestContentTopic 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 () { it("Subscribe and receive messages via waku relay post", async function () {