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

Commit

Permalink
chore: update test per review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Jul 24, 2020
1 parent 44dc52f commit cb764c6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/interface-ipfs-core/src/object/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,8 @@ module.exports = (common, options) => {
const node1bCid = await ipfs.object.put(node1b)

const links = await ipfs.object.links(node1bCid)
expect(node1b.Links[0]).to.containSubset({
Hash: links[0].Hash,
Tsize: links[0].Tsize,
Name: links[0].Name
})
expect(links).to.be.an('array').that.has.property('length', 1)
expect(node1b.Links).to.be.deep.equal(links)
})

it('should get links by base58 encoded multihash', async () => {
Expand Down

0 comments on commit cb764c6

Please sign in to comment.