From 0e15761dc4d7b14168d5cd47d688ad627fb0fc2a Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Thu, 13 Dec 2018 11:18:07 +0000 Subject: [PATCH] fix: skip test that go-ipfs cannot pass 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 --- test/interface.spec.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/interface.spec.js b/test/interface.spec.js index ba648a932..5d87a2b91 100644 --- a/test/interface.spec.js +++ b/test/interface.spec.js @@ -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)