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

Commit

Permalink
test(dag): skip spec for put API (#1421)
Browse files Browse the repository at this point in the history
Over at ipfs-inactive/interface-js-ipfs-core#323 we introduce a
test spec that ensures `dag.put()` honors the `hashAlg` option, which at
the time of this commit is ignored by the underlying `ipld.put()` API
(more info: 1a36375).

This commit skips that spec in `js-ipfs` as ipld/js-ipld#133 has to
land first to fulfill the scenario.

License: MIT
Signed-off-by: Pascal Precht <pascal.precht@gmail.com>
  • Loading branch information
0x-r4bbit authored and alanshaw committed Jul 5, 2018
1 parent 2615f76 commit 796bb46
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ describe('interface-ipfs-core tests', () => {

tests.config(defaultCommonFactory)

tests.dag(defaultCommonFactory)
tests.dag(defaultCommonFactory, {
skip: [
{
name: 'should override hash algoritm default and resolve with it',
reason: 'https://github.com/ipld/js-ipld/pull/133 needs to land first'
}
]
})

tests.dht(defaultCommonFactory, {
skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' }
Expand Down

0 comments on commit 796bb46

Please sign in to comment.