mirror of https://github.com/waku-org/js-waku.git
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([
|
||||
{
|
||||
multiaddr: multiAddrWithId,
|
||||
protocol: '/vac/waku/relay/2.0.0-beta2',
|
||||
protocol: '/vac/waku/relay/2.0.0',
|
||||
connected: true,
|
||||
},
|
||||
]);
|
||||
|
|
|
@ -72,7 +72,7 @@ describe('Waku Relay', () => {
|
|||
it('Register correct protocols', async function () {
|
||||
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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue