Skip to content

Commit

Permalink
chore: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Oct 25, 2024
1 parent 4fcaa52 commit 71aa34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kad-dht/test/providers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('providers', () => {
expect(ids.has(peers[0].toString())).to.equal(true)
})

it('should duplicate multiple adds of same provider', async () => {
it('should deduplicate multiple adds of same provider', async () => {
providers = new Providers({
datastore: new MemoryDatastore(),
logger: defaultLogger()
Expand Down Expand Up @@ -104,6 +104,6 @@ describe('providers', () => {
const cid = CID.parse('QmZ8eiDPqQqWR17EPxiwCDgrKPVhCHLcyn6xSCNpFAdAZb')
const peerId = peerIdFromString('QmZ8eiDPqQqWR17EPxiwCDgrKPVhCHLcyn6xSCNpFAdAZb')

await providers.removeProvider(cid, peerId)
await expect(providers.removeProvider(cid, peerId)).to.not.be.rejected()
})
})

0 comments on commit 71aa34d

Please sign in to comment.