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

Commit 86ead45

Browse files
committed
test(dag): skip spec for put API
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>
1 parent 1a36375 commit 86ead45

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/core/interface.spec.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@ describe('interface-ipfs-core tests', () => {
1616

1717
tests.config(defaultCommonFactory)
1818

19-
tests.dag(defaultCommonFactory)
19+
tests.dag(defaultCommonFactory, {
20+
skip: [
21+
{
22+
name: 'should override hash algoritm default and resolve with it',
23+
reason: 'ipld/js-ipld/pull/133 needs to land first'
24+
}
25+
]
26+
})
2027

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

0 commit comments

Comments
 (0)