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

fix: failing tests in master #1488

Merged
merged 3 commits into from
Aug 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"expose-loader": "~0.7.5",
"form-data": "^2.3.2",
"hat": "0.0.3",
"interface-ipfs-core": "~0.72.1",
"ipfsd-ctl": "~0.38.0",
"interface-ipfs-core": "~0.75.1",
"ipfsd-ctl": "~0.39.0",
"mocha": "^5.2.0",
"ncp": "^2.0.0",
"nexpect": "~0.5.0",
Expand Down
32 changes: 30 additions & 2 deletions test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,28 @@ describe('interface-ipfs-core tests', () => {
skip: { reason: 'TODO: DHT is not implemented in js-ipfs yet!' }
})

tests.files(defaultCommonFactory)
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.key(CommonFactory.create({
spawnOptions: {
Expand All @@ -36,7 +57,14 @@ describe('interface-ipfs-core tests', () => {
tests.miscellaneous(CommonFactory.create({
// No need to stop, because the test suite does a 'stop' test.
createTeardown: () => cb => cb()
}))
}), {
skip: [
{
name: 'resolve',
reason: 'TODO: not implemented'
}
]
})

tests.object(defaultCommonFactory)

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

tests.files(defaultCommonFactory)
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.key(CommonFactory.create({
spawnOptions: {
Expand All @@ -37,7 +58,14 @@ describe('interface-ipfs-core over ipfs-api tests', () => {
tests.miscellaneous(CommonFactory.create({
// No need to stop, because the test suite does a 'stop' test.
createTeardown: () => cb => cb()
}))
}), {
skip: [
{
name: 'resolve',
reason: 'TODO: not implemented'
}
]
})

tests.object(defaultCommonFactory)

Expand Down