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

Commit

Permalink
fix: files.ls and files.read*Stream tests (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored and alanshaw committed Aug 9, 2018
1 parent 8622264 commit a0bc79b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 47 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"expose-loader": "~0.7.5",
"form-data": "^2.3.2",
"hat": "0.0.3",
"interface-ipfs-core": "~0.75.1",
"interface-ipfs-core": "~0.75.2",
"ipfsd-ctl": "~0.39.1",
"mocha": "^5.2.0",
"ncp": "^2.0.0",
Expand Down Expand Up @@ -109,11 +109,11 @@
"ipfs-block": "~0.7.1",
"ipfs-block-service": "~0.14.0",
"ipfs-http-response": "~0.1.2",
"ipfs-mfs": "~0.2.5",
"ipfs-mfs": "~0.3.0",
"ipfs-multipart": "~0.1.0",
"ipfs-repo": "~0.22.1",
"ipfs-unixfs": "~0.1.15",
"ipfs-unixfs-engine": "~0.31.3",
"ipfs-unixfs-engine": "~0.32.1",
"ipld": "~0.17.3",
"ipld-dag-cbor": "~0.12.1",
"ipld-dag-pb": "~0.14.6",
Expand Down
23 changes: 1 addition & 22 deletions test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,7 @@ describe('interface-ipfs-core tests', () => {
skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' }
})

tests.files(defaultCommonFactory, {
skip: [
// files.ls
{
name: 'should ls directory',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
},
{
name: 'should ls -l directory',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
},
// files.read*Stream
{
name: 'readPullStream',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
},
{
name: 'readReadableStream',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
}
]
})
tests.files(defaultCommonFactory)

tests.key(CommonFactory.create({
spawnOptions: {
Expand Down
23 changes: 1 addition & 22 deletions test/http-api/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,7 @@ describe('interface-ipfs-core over ipfs-api tests', () => {
skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' }
})

tests.files(defaultCommonFactory, {
skip: [
// files.ls
{
name: 'should ls directory',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
},
{
name: 'should ls -l directory',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/7'
},
// files.read*Stream
{
name: 'readPullStream',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
},
{
name: 'readReadableStream',
reason: 'FIXME: https://github.com/ipfs/js-ipfs-mfs/issues/8'
}
]
})
tests.files(defaultCommonFactory)

tests.key(CommonFactory.create({
spawnOptions: {
Expand Down

0 comments on commit a0bc79b

Please sign in to comment.