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

chore: upgrade go-ipfs-dep #3135

Merged
merged 2 commits into from
Jul 7, 2020
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: 3 additions & 1 deletion packages/interface-ipfs-core/src/config/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ module.exports = (common, options) => {
})

it('should fail on non valid value', () => {
return expect(ipfs.config.set('Fruit', Buffer.from('abc'))).to.eventually.be.rejected()
const val = {}
val.val = val
return expect(ipfs.config.set('Fruit', val)).to.eventually.be.rejected()
})
})
}
2 changes: 1 addition & 1 deletion packages/ipfs-http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"devDependencies": {
"aegir": "^23.0.0",
"cross-env": "^7.0.0",
"go-ipfs-dep": "^0.5.1",
"go-ipfs-dep": "^0.6.0",
"interface-ipfs-core": "^0.137.0",
"ipfsd-ctl": "^4.1.1",
"it-all": "^1.0.1",
Expand Down
20 changes: 2 additions & 18 deletions packages/ipfs-http-client/test/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ describe('interface-ipfs-core tests', () => {
]
})

tests.bitswap(commonFactory, {
skip: [{
name: 'should get the wantlist by peer ID for a different node',
reason: 'unskip when https://github.com/ipfs/go-bitswap/pull/390 is released in go-ipfs'
}]
})
tests.bitswap(commonFactory)

tests.block(commonFactory, {
skip: [{
Expand All @@ -65,18 +60,7 @@ describe('interface-ipfs-core tests', () => {
}]
})

tests.bootstrap(commonFactory, {
skip: [{
name: 'should return a list containing the bootstrap peer when called with a valid arg (ip4)',
reason: 'TODO unskip when go-ipfs switches to p2p for libp2p keys'
}, {
name: 'should prevent duplicate inserts of bootstrap peers',
reason: 'TODO unskip when go-ipfs switches to p2p for libp2p keys'
}, {
name: 'should return a list containing the peer removed when called with a valid arg (ip4)',
reason: 'TODO unskip when go-ipfs switches to p2p for libp2p keys'
}]
})
tests.bootstrap(commonFactory)

tests.config(commonFactory, {
skip: [
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"delay": "^4.3.0",
"execa": "^4.0.0",
"form-data": "^3.0.0",
"go-ipfs-dep": "^0.5.1",
"go-ipfs-dep": "^0.6.0",
"interface-ipfs-core": "^0.137.0",
"ipfs-interop": "^1.0.4",
"ipfsd-ctl": "^4.1.1",
Expand Down