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

Commit

Permalink
chore: unskip .add tests
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
lidel committed Sep 9, 2019
1 parent 11ab304 commit ddd49ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
13 changes: 2 additions & 11 deletions test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 1 addition & 12 deletions test/http-api/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ddd49ce

Please sign in to comment.