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

Commit a0bc79b

Browse files
achingbrainalanshaw
authored andcommitted
fix: files.ls and files.read*Stream tests (#1493)
1 parent 8622264 commit a0bc79b

File tree

3 files changed

+5
-47
lines changed

3 files changed

+5
-47
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"expose-loader": "~0.7.5",
7171
"form-data": "^2.3.2",
7272
"hat": "0.0.3",
73-
"interface-ipfs-core": "~0.75.1",
73+
"interface-ipfs-core": "~0.75.2",
7474
"ipfsd-ctl": "~0.39.1",
7575
"mocha": "^5.2.0",
7676
"ncp": "^2.0.0",
@@ -109,11 +109,11 @@
109109
"ipfs-block": "~0.7.1",
110110
"ipfs-block-service": "~0.14.0",
111111
"ipfs-http-response": "~0.1.2",
112-
"ipfs-mfs": "~0.2.5",
112+
"ipfs-mfs": "~0.3.0",
113113
"ipfs-multipart": "~0.1.0",
114114
"ipfs-repo": "~0.22.1",
115115
"ipfs-unixfs": "~0.1.15",
116-
"ipfs-unixfs-engine": "~0.31.3",
116+
"ipfs-unixfs-engine": "~0.32.1",
117117
"ipld": "~0.17.3",
118118
"ipld-dag-cbor": "~0.12.1",
119119
"ipld-dag-pb": "~0.14.6",

test/core/interface.spec.js

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

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-
})
25+
tests.files(defaultCommonFactory)
4726

4827
tests.key(CommonFactory.create({
4928
spawnOptions: {

test/http-api/interface.js

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,7 @@ 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, {
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-
})
28+
tests.files(defaultCommonFactory)
5029

5130
tests.key(CommonFactory.create({
5231
spawnOptions: {

0 commit comments

Comments
 (0)