Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit dcb63c9

Browse files
committed
Add test to inteface and skip it
1 parent 41fb6b8 commit dcb63c9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/interface-ipfs-core/src/miscellaneous/id.js

+6
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,11 @@ module.exports = (common, options) => {
4444
expect(Multiaddr.isMultiaddr(ma)).to.be.true()
4545
}
4646
})
47+
48+
it('should have protocols property', async () => {
49+
const res = await ipfs.id()
50+
51+
expect(res).to.have.a.property('protocols').that.is.an('array')
52+
})
4753
})
4854
}

packages/ipfs-http-client/test/interface.spec.js

+4
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,10 @@ describe('interface-ipfs-core tests', () => {
475475
{
476476
name: 'should include the interface-ipfs-core version',
477477
reason: 'TODO not implemented in go-ipfs yet'
478+
},
479+
{
480+
name: 'should have protocols property',
481+
reason: 'TODO not implemented in go-ipfs yet'
478482
}
479483
]
480484
})

0 commit comments

Comments
 (0)