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

Commit ddd49ce

Browse files
committed
chore: unskip .add tests
License: MIT Signed-off-by: Marcin Rataj <[email protected]>
1 parent 11ab304 commit ddd49ce

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

test/core/interface.spec.js

+2-11
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,13 @@ describe('interface-ipfs-core tests', function () {
5858
})
5959

6060
tests.filesRegular(defaultCommonFactory, {
61-
skip: [
62-
{
63-
name: 'should add a string',
64-
reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged'
65-
},
66-
{
67-
name: 'should add a TypedArray',
68-
reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged'
69-
}
70-
].concat(isNode ? [] : [{
61+
skip: isNode ? null : [{
7162
name: 'addFromStream',
7263
reason: 'Not designed to run in the browser'
7364
}, {
7465
name: 'addFromFs',
7566
reason: 'Not designed to run in the browser'
76-
}])
67+
}]
7768
})
7869

7970
tests.filesMFS(defaultCommonFactory)

test/http-api/interface.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,7 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {
6666
}
6767
})
6868

69-
tests.filesRegular(defaultCommonFactory, {
70-
skip: [
71-
{
72-
name: 'should add a string',
73-
reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged'
74-
},
75-
{
76-
name: 'should add a TypedArray',
77-
reason: 'TODO: unskip when https://github.com/ipfs/js-ipfs/pull/2379 is merged'
78-
}
79-
]
80-
})
69+
tests.filesRegular(defaultCommonFactory)
8170

8271
tests.filesMFS(defaultCommonFactory)
8372

0 commit comments

Comments
 (0)