From ddd49ce41f6f9abd48b1e54bc4c7dd3e58fd0ee9 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 9 Sep 2019 12:30:03 +0200 Subject: [PATCH] chore: unskip .add tests License: MIT Signed-off-by: Marcin Rataj --- test/core/interface.spec.js | 13 ++----------- test/http-api/interface.js | 13 +------------ 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/test/core/interface.spec.js b/test/core/interface.spec.js index 3559662601..10e5c225bd 100644 --- a/test/core/interface.spec.js +++ b/test/core/interface.spec.js @@ -58,22 +58,13 @@ describe('interface-ipfs-core tests', function () { }) tests.filesRegular(defaultCommonFactory, { - skip: [ - { - name: 'should add a string', - reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged' - }, - { - name: 'should add a TypedArray', - reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged' - } - ].concat(isNode ? [] : [{ + skip: isNode ? null : [{ name: 'addFromStream', reason: 'Not designed to run in the browser' }, { name: 'addFromFs', reason: 'Not designed to run in the browser' - }]) + }] }) tests.filesMFS(defaultCommonFactory) diff --git a/test/http-api/interface.js b/test/http-api/interface.js index cb0188595a..8c4811822c 100644 --- a/test/http-api/interface.js +++ b/test/http-api/interface.js @@ -66,18 +66,7 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => { } }) - tests.filesRegular(defaultCommonFactory, { - skip: [ - { - name: 'should add a string', - reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged' - }, - { - name: 'should add a TypedArray', - reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged' - } - ] - }) + tests.filesRegular(defaultCommonFactory) tests.filesMFS(defaultCommonFactory)