mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-23 22:11:35 +00:00
chore: rename isEqual to equals in tests
This commit is contained in:
@ -425,7 +425,7 @@ describe('addressBook', () => {
|
||||
|
||||
// Validate stored envelope
|
||||
const storedEnvelope = await ab.getPeerRecord(peerId)
|
||||
expect(envelope.isEqual(storedEnvelope)).to.eql(true)
|
||||
expect(envelope.equals(storedEnvelope)).to.eql(true)
|
||||
|
||||
// Validate AddressBook addresses
|
||||
const addrs = ab.get(peerId)
|
||||
|
Reference in New Issue
Block a user