Skip to content

Commit 9692d12

Browse files
chore: enable relay when lightpush is used
1 parent f2ad23a commit 9692d12

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/tests/tests/wait_for_remote_peer.node.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ describe("Wait for remote peer", function () {
170170
await nwaku.start({
171171
lightpush: true,
172172
filter: false,
173-
relay: false,
173+
relay: true,
174174
store: false
175175
});
176176
const multiAddrWithId = await nwaku.getMultiaddrWithId();
@@ -229,7 +229,7 @@ describe("Wait for remote peer", function () {
229229
await nwaku.start({
230230
filter: true,
231231
lightpush: true,
232-
relay: false
232+
relay: true
233233
// store: true
234234
});
235235
const multiAddrWithId = await nwaku.getMultiaddrWithId();

packages/tests/tests/waku.node.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ describe("Waku Dial [node only]", function () {
5757
await nwaku.start({
5858
filter: true,
5959
store: true,
60-
lightpush: true
60+
lightpush: true,
61+
relay: true
6162
});
6263
const multiAddrWithId = await nwaku.getMultiaddrWithId();
6364

@@ -91,7 +92,8 @@ describe("Waku Dial [node only]", function () {
9192
await nwaku.start({
9293
filter: true,
9394
store: true,
94-
lightpush: true
95+
lightpush: true,
96+
relay: true
9597
});
9698
const multiAddrWithId = await nwaku.getMultiaddrWithId();
9799

0 commit comments

Comments
 (0)