mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-05 00:55:30 +00:00
nim-waku v0.5 uses new waku relay protocol id
This commit is contained in:
parent
5f7eee394b
commit
c4d0501c6a
@ -29,7 +29,7 @@ describe('Waku Dial', function () {
|
|||||||
expect(nimPeers).to.deep.equal([
|
expect(nimPeers).to.deep.equal([
|
||||||
{
|
{
|
||||||
multiaddr: multiAddrWithId,
|
multiaddr: multiAddrWithId,
|
||||||
protocol: '/vac/waku/relay/2.0.0-beta2',
|
protocol: '/vac/waku/relay/2.0.0',
|
||||||
connected: true,
|
connected: true,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
@ -72,7 +72,7 @@ describe('Waku Relay', () => {
|
|||||||
it('Register correct protocols', async function () {
|
it('Register correct protocols', async function () {
|
||||||
const protocols = Array.from(waku1.libp2p.upgrader.protocols.keys());
|
const protocols = Array.from(waku1.libp2p.upgrader.protocols.keys());
|
||||||
|
|
||||||
expect(protocols).to.contain('/vac/waku/relay/2.0.0-beta2');
|
expect(protocols).to.contain('/vac/waku/relay/2.0.0');
|
||||||
expect(protocols.findIndex((value) => value.match(/sub/))).to.eq(-1);
|
expect(protocols.findIndex((value) => value.match(/sub/))).to.eq(-1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user