fix: multicodec topology disconnect with peer param (#12)

This commit is contained in:
Vasco Santos
2019-12-02 16:06:26 +01:00
committed by Jacob Heun
parent 3f6c1cbee1
commit d5dd256a21
2 changed files with 2 additions and 3 deletions

View File

@ -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)
})
})
}