mirror of https://github.com/waku-org/js-waku.git
Use plain websocket in tests
Thanks to the libp2p upgrade, waku actually tries to listen to a secure websocket. Using plain websocket for now, testing secure websocket is tracked with #50.
This commit is contained in:
parent
01c1c253b4
commit
8cecfc205b
|
@ -17,7 +17,7 @@ describe('Waku Dial', function () {
|
|||
const [waku1, waku2] = await Promise.all([
|
||||
Waku.create({
|
||||
staticNoiseKey: NOISE_KEY_1,
|
||||
libp2p: { addresses: { listen: ['/ip4/0.0.0.0/tcp/0/wss'] } },
|
||||
libp2p: { addresses: { listen: ['/ip4/0.0.0.0/tcp/0/ws'] } },
|
||||
}),
|
||||
Waku.create({ staticNoiseKey: NOISE_KEY_2 }),
|
||||
]);
|
||||
|
|
|
@ -31,7 +31,7 @@ describe('Waku Relay', () => {
|
|||
Waku.create({ staticNoiseKey: NOISE_KEY_1 }),
|
||||
Waku.create({
|
||||
staticNoiseKey: NOISE_KEY_2,
|
||||
libp2p: { addresses: { listen: ['/ip4/0.0.0.0/tcp/0/wss'] } },
|
||||
libp2p: { addresses: { listen: ['/ip4/0.0.0.0/tcp/0/ws'] } },
|
||||
}),
|
||||
]);
|
||||
|
||||
|
@ -179,7 +179,7 @@ describe('Waku Relay', () => {
|
|||
Waku.create({
|
||||
pubsubTopic,
|
||||
staticNoiseKey: NOISE_KEY_2,
|
||||
libp2p: { addresses: { listen: ['/ip4/0.0.0.0/tcp/0/wss'] } },
|
||||
libp2p: { addresses: { listen: ['/ip4/0.0.0.0/tcp/0/ws'] } },
|
||||
}),
|
||||
Waku.create({
|
||||
staticNoiseKey: NOISE_KEY_2,
|
||||
|
|
Loading…
Reference in New Issue