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

Commit 49f9cea

Browse files
committed
chore: skip files.ls and files.read*Stream
ipfs-inactive/js-ipfs-mfs#7 ipfs-inactive/js-ipfs-mfs#8 License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 63f279b commit 49f9cea

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

test/core/interface.spec.js

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,28 @@ describe('interface-ipfs-core tests', () => {
2222
skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' }
2323
})
2424

25-
tests.files(defaultCommonFactory)
25+
tests.files(defaultCommonFactory, {
26+
skip: [
27+
// files.ls
28+
{
29+
name: 'should ls directory',
30+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
31+
},
32+
{
33+
name: 'should ls -l directory',
34+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
35+
},
36+
// files.read*Stream
37+
{
38+
name: 'readPullStream',
39+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
40+
},
41+
{
42+
name: 'readReadableStream',
43+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
44+
}
45+
]
46+
})
2647

2748
tests.key(CommonFactory.create({
2849
spawnOptions: {

test/http-api/interface.js

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,28 @@ describe('interface-ipfs-core over ipfs-api tests', () => {
2525
skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' }
2626
})
2727

28-
tests.files(defaultCommonFactory)
28+
tests.files(defaultCommonFactory, {
29+
skip: [
30+
// files.ls
31+
{
32+
name: 'should ls directory',
33+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
34+
},
35+
{
36+
name: 'should ls -l directory',
37+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
38+
},
39+
// files.read*Stream
40+
{
41+
name: 'readPullStream',
42+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
43+
},
44+
{
45+
name: 'readReadableStream',
46+
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
47+
}
48+
]
49+
})
2950

3051
tests.key(CommonFactory.create({
3152
spawnOptions: {

0 commit comments

Comments
 (0)