mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-06-23 02:21:55 +00:00
fix: multicodec topology disconnect with peer param (#12)
This commit is contained in:
@ -86,6 +86,7 @@ module.exports = (test) => {
|
||||
|
||||
expect(topology.peers.size).to.eql(1)
|
||||
expect(topology._onDisconnect.callCount).to.equal(1)
|
||||
expect(topology._onDisconnect.calledWith(peer2)).to.equal(true)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user