Skip to content

Commit 693182f

Browse files
committed
fix(ci): skip tests without implementation
Some ipfs.add() tests need to be skipped until ipfs#2379 is merged License: MIT Signed-off-by: Marcin Rataj <[email protected]>
1 parent e29e42b commit 693182f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

test/core/interface.spec.js

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

6060
tests.filesRegular(defaultCommonFactory, {
61-
skip: isNode ? null : [{
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 ? [] : [{
6271
name: 'addFromStream',
6372
reason: 'Not designed to run in the browser'
6473
}, {
6574
name: 'addFromFs',
6675
reason: 'Not designed to run in the browser'
67-
}]
76+
}])
6877
})
6978

7079
tests.filesMFS(defaultCommonFactory)

0 commit comments

Comments
 (0)