mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-31 14:45:57 +00:00
fail a test for demo
This commit is contained in:
parent
0fc136ab11
commit
3a02f64696
@ -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 () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user