mirror of https://github.com/status-im/js-waku.git
test: light push should not throw an exception
This commit is contained in:
parent
fb37c89e40
commit
8cbd4c1d00
|
@ -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")
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue