mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-11 13:04:41 +00:00
Only node receiving message needs to subscribe
This commit is contained in:
parent
4c6c54cf87
commit
eb874a956b
@ -20,7 +20,6 @@ test('Publishes message', async (t) => {
|
||||
await node1.dial(node2.peerId);
|
||||
|
||||
await wakuRelayNode1.subscribe();
|
||||
await wakuRelayNode2.subscribe();
|
||||
|
||||
// Setup the promise before publishing to ensure the event is not missed
|
||||
const promise = waitForNextData(node1.pubsub);
|
||||
|
Loading…
x
Reference in New Issue
Block a user