Skip to content

Commit

Permalink
test: light push should not throw an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
fryorcraken committed Sep 21, 2023
1 parent fb37c89 commit 8cbd4c1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/tests/tests/waku.node.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,9 @@ describe("Waku Dial [node only]", function () {
await waku.start();
await waku.dial(multiAddrWithId);
await nwaku.stop();
try {
await waku.lightPush?.send(TestEncoder, {
payload: utf8ToBytes("hello world")
});
} catch (e) {
// We are not checking this exception
}
await waku.lightPush?.send(TestEncoder, {
payload: utf8ToBytes("hello world")
});
});
});

Expand Down

0 comments on commit 8cbd4c1

Please sign in to comment.