Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 8d0b01d

Browse files
committed
chore: do not assert on removed bootstrap nodes
1 parent 333a256 commit 8d0b01d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bootstrap/add.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ module.exports = (createCommon, options) => {
6262
})
6363

6464
it('should prevent duplicate inserts of bootstrap peers', async () => {
65-
const removed = await ipfs.bootstrap.rm(null, { all: true })
66-
expect(removed).to.have.property('Peers').that.is.an('array')
67-
expect(removed.Peers).to.have.lengthOf(0)
65+
await ipfs.bootstrap.rm(null, { all: true })
6866

6967
const added = await ipfs.bootstrap.add(validIp4)
7068
expect(added).to.have.property('Peers').that.deep.equals([validIp4])

0 commit comments

Comments
 (0)