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

Commit

Permalink
test(dag): introduce test that ensure dag.put can be called without…
Browse files Browse the repository at this point in the history
… options

As discussed in ipfs/js-ipfs#1415 (comment)
  • Loading branch information
0x-r4bbit committed Jul 2, 2018
1 parent 0a3f5f2 commit 08a57e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/src/dag/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ module.exports = (createCommon, options) => {
})
})

it('should not fail when calling put without options', (done) => {
ipfs.dag.put(pbNode, done)
})

it.skip('should put by passing the cid instead of format and hashAlg', (done) => {})

// TODO it.skip('Promises support', (done) => {})
Expand Down

0 comments on commit 08a57e3

Please sign in to comment.