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

Commit

Permalink
fix: skip test that go-ipfs cannot pass
Browse files Browse the repository at this point in the history
For some reason go-ipfs does not support a `version` parameter in the `/api/v0/block/put` endpoint but js-ipfs does. This means that go-ipfs cannot pass this skipped CID version agnostic test. When IPFS switches to v1 CIDs by default we'll have to switch this skipped test to the one that tests the other way around i.e. CIDv0 to CIDv1.

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
  • Loading branch information
Alan Shaw committed Dec 13, 2018
1 parent 98bf3d7 commit 0e15761
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ describe('interface-ipfs-core tests', () => {
]
})

tests.block(defaultCommonFactory)
tests.block(defaultCommonFactory, {
skip: [{
name: 'should get a block added as CIDv1 with a CIDv0',
reason: 'go-ipfs does not support the `version` param'
}]
})

tests.bootstrap(defaultCommonFactory)

Expand Down

0 comments on commit 0e15761

Please sign in to comment.