From a4ec392e9f25a7187391957c080e28859e998ec5 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Mon, 6 Aug 2018 21:01:24 +0100 Subject: [PATCH 1/3] chore: update dependencies License: MIT Signed-off-by: Alan Shaw --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be757cac40..00ce13e516 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ "expose-loader": "~0.7.5", "form-data": "^2.3.2", "hat": "0.0.3", - "interface-ipfs-core": "~0.72.1", - "ipfsd-ctl": "~0.38.0", + "interface-ipfs-core": "~0.75.1", + "ipfsd-ctl": "~0.39.0", "mocha": "^5.2.0", "ncp": "^2.0.0", "nexpect": "~0.5.0", From 03c99c58128c35324ed491c1c3d127dddf9d4a26 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Mon, 6 Aug 2018 21:03:07 +0100 Subject: [PATCH 2/3] chore: skip files.ls and files.read*Stream https://github.com/ipfs/js-ipfs-mfs/issues/7 https://github.com/ipfs/js-ipfs-mfs/issues/8 License: MIT Signed-off-by: Alan Shaw --- test/core/interface.spec.js | 23 ++++++++++++++++++++++- test/http-api/interface.js | 23 ++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/test/core/interface.spec.js b/test/core/interface.spec.js index 73742776a7..88e018eab0 100644 --- a/test/core/interface.spec.js +++ b/test/core/interface.spec.js @@ -22,7 +22,28 @@ describe('interface-ipfs-core tests', () => { skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' } }) - tests.files(defaultCommonFactory) + tests.files(defaultCommonFactory, { + skip: [ + // files.ls + { + name: 'should ls directory', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7' + }, + { + name: 'should ls -l directory', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7' + }, + // files.read*Stream + { + name: 'readPullStream', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8' + }, + { + name: 'readReadableStream', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8' + } + ] + }) tests.key(CommonFactory.create({ spawnOptions: { diff --git a/test/http-api/interface.js b/test/http-api/interface.js index e123093687..9b33f3b330 100644 --- a/test/http-api/interface.js +++ b/test/http-api/interface.js @@ -25,7 +25,28 @@ describe('interface-ipfs-core over ipfs-api tests', () => { skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' } }) - tests.files(defaultCommonFactory) + tests.files(defaultCommonFactory, { + skip: [ + // files.ls + { + name: 'should ls directory', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7' + }, + { + name: 'should ls -l directory', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7' + }, + // files.read*Stream + { + name: 'readPullStream', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8' + }, + { + name: 'readReadableStream', + reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8' + } + ] + }) tests.key(CommonFactory.create({ spawnOptions: { From ce2b307f76a7d88e7870f77a9929584e57f0f9d6 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Mon, 6 Aug 2018 21:25:58 +0100 Subject: [PATCH 3/3] chore: skip ipfs.resolve (not yet implemented) License: MIT Signed-off-by: Alan Shaw --- test/core/interface.spec.js | 9 ++++++++- test/http-api/interface.js | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/test/core/interface.spec.js b/test/core/interface.spec.js index 88e018eab0..07fb19a6b5 100644 --- a/test/core/interface.spec.js +++ b/test/core/interface.spec.js @@ -57,7 +57,14 @@ describe('interface-ipfs-core tests', () => { tests.miscellaneous(CommonFactory.create({ // No need to stop, because the test suite does a 'stop' test. createTeardown: () => cb => cb() - })) + }), { + skip: [ + { + name: 'resolve', + reason: 'TODO: not implemented' + } + ] + }) tests.object(defaultCommonFactory) diff --git a/test/http-api/interface.js b/test/http-api/interface.js index 9b33f3b330..9a1cc20e00 100644 --- a/test/http-api/interface.js +++ b/test/http-api/interface.js @@ -58,7 +58,14 @@ describe('interface-ipfs-core over ipfs-api tests', () => { tests.miscellaneous(CommonFactory.create({ // No need to stop, because the test suite does a 'stop' test. createTeardown: () => cb => cb() - })) + }), { + skip: [ + { + name: 'resolve', + reason: 'TODO: not implemented' + } + ] + }) tests.object(defaultCommonFactory)