Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit d7aadff

Browse files
chore: Update ipfsd-ctl to 0.13.0
1 parent 67034d5 commit d7aadff

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"chai": "^3.5.0",
2727
"aegir": "^3.0.1",
2828
"gulp": "^3.9.1",
29-
"ipfsd-ctl": "^0.11.0",
29+
"ipfsd-ctl": "^0.13.0",
3030
"pre-commit": "^1.1.2",
3131
"raw-loader": "^0.5.1",
3232
"stream-equal": "^0.1.8",

test/api/object.spec.js

+8-16
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ describe('.object', () => {
6767
expect(err).to.not.exist
6868

6969
expect(res).to.be.eql({
70-
Hash: 'QmPTkMuuL6PD8L2SwTwbcs1NPg14U8mRzerB1ZrrBrkSDD',
71-
Links: []
70+
Hash: 'QmPTkMuuL6PD8L2SwTwbcs1NPg14U8mRzerB1ZrrBrkSDD'
7271
})
7372
done()
7473
})
@@ -87,8 +86,7 @@ describe('.object', () => {
8786
.addLink(testObjectHash, 'next', testPatchObjectHash, (err, res) => {
8887
expect(err).to.not.exist
8988
expect(res).to.be.eql({
90-
Hash: 'QmZFdJ3CQsY4kkyQtjoUo8oAzsEs5BNguxBhp8sjQMpgkd',
91-
Links: null
89+
Hash: 'QmZFdJ3CQsY4kkyQtjoUo8oAzsEs5BNguxBhp8sjQMpgkd'
9290
})
9391
apiClients.a.object.get(res.Hash, (err, res) => {
9492
expect(err).to.not.exist
@@ -110,8 +108,7 @@ describe('.object', () => {
110108
.rmLink('QmZFdJ3CQsY4kkyQtjoUo8oAzsEs5BNguxBhp8sjQMpgkd', 'next', (err, res) => {
111109
expect(err).to.not.exist
112110
expect(res).to.be.eql({
113-
Hash: testObjectHash,
114-
Links: null
111+
Hash: testObjectHash
115112
})
116113
apiClients.a.object.get(res.Hash, (err, res) => {
117114
expect(err).to.not.exist
@@ -129,8 +126,7 @@ describe('.object', () => {
129126
.appendData(testObjectHash, new Buffer(' hello'), (err, res) => {
130127
expect(err).to.not.exist
131128
expect(res).to.be.eql({
132-
Hash: 'Qmcjhr2QztQxCAoEf8tJPTGTVkTsUrTQ36JurH14DNYNsc',
133-
Links: null
129+
Hash: 'Qmcjhr2QztQxCAoEf8tJPTGTVkTsUrTQ36JurH14DNYNsc'
134130
})
135131
apiClients.a.object.get(res.Hash, (err, res) => {
136132
expect(err).to.not.exist
@@ -147,8 +143,7 @@ describe('.object', () => {
147143
.setData(testObjectHash, new Buffer('hello world'), (err, res) => {
148144
expect(err).to.not.exist
149145
expect(res).to.be.eql({
150-
Hash: 'QmU1Sq1B7RPQD2XcQNLB58qJUyJffVJqihcxmmN1STPMxf',
151-
Links: null
146+
Hash: 'QmU1Sq1B7RPQD2XcQNLB58qJUyJffVJqihcxmmN1STPMxf'
152147
})
153148
apiClients.a.object.get(res.Hash, (err, res) => {
154149
expect(err).to.not.exist
@@ -166,8 +161,7 @@ describe('.object', () => {
166161
apiClients.a.object.new('unixfs-dir', (err, res) => {
167162
expect(err).to.not.exist
168163
expect(res).to.deep.equal({
169-
Hash: 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn',
170-
Links: null
164+
Hash: 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn'
171165
})
172166
done()
173167
})
@@ -226,8 +220,7 @@ describe('.object', () => {
226220
return apiClients.a.object.links(testObjectHash)
227221
.then((res) => {
228222
expect(res).to.be.eql({
229-
Hash: 'QmPTkMuuL6PD8L2SwTwbcs1NPg14U8mRzerB1ZrrBrkSDD',
230-
Links: []
223+
Hash: 'QmPTkMuuL6PD8L2SwTwbcs1NPg14U8mRzerB1ZrrBrkSDD'
231224
})
232225
})
233226
})
@@ -236,8 +229,7 @@ describe('.object', () => {
236229
return apiClients.a.object.new('unixfs-dir')
237230
.then((res) => {
238231
expect(res).to.deep.equal({
239-
Hash: 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn',
240-
Links: null
232+
Hash: 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn'
241233
})
242234
})
243235
})

0 commit comments

Comments
 (0)