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

Commit 4edcebd

Browse files
committed
list tests
1 parent e45161b commit 4edcebd

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

test/test.js

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ describe('IPFS Node.js API wrapper tests', function () {
134134
})
135135

136136
describe('.send', function () {
137+
it('used by every command')
137138
})
138139

139140
describe('.add', function () {
@@ -209,7 +210,9 @@ describe('IPFS Node.js API wrapper tests', function () {
209210
})
210211
})
211212
})
213+
})
212214

215+
describe('.ls', function () {
213216
var initDocs = 'Qmcqtw8FfrVSBaRmbWwHxt3AuySBhJLcvmFYi3Lbc4xnwj'
214217
var initDocsLs = {
215218
'help': 'QmY5heUM5qgRubMDD1og9fhCPA6QdkMp3QCwd4s7gJsyE7',
@@ -240,11 +243,8 @@ describe('IPFS Node.js API wrapper tests', function () {
240243
})
241244
})
242245

243-
describe('.ls', function () {
244-
})
245-
246246
describe('.config', function () {
247-
it('config set/get', function (done) {
247+
it('.config.{set, get}', function (done) {
248248
this.timeout(10000)
249249

250250
var confKey = 'arbitraryKey'
@@ -259,9 +259,15 @@ describe('IPFS Node.js API wrapper tests', function () {
259259
})
260260
})
261261
})
262+
263+
it('.config.show')
264+
it('.config.replace')
262265
})
263266

264267
describe('.update', function () {
268+
it('.update.apply')
269+
it('.update.check')
270+
it('.update.log')
265271
})
266272

267273
describe('.version', function () {
@@ -274,6 +280,7 @@ describe('IPFS Node.js API wrapper tests', function () {
274280
})
275281

276282
describe('.diag', function () {
283+
it('.diag.net')
277284
})
278285

279286
describe('.block', function () {
@@ -365,9 +372,17 @@ describe('IPFS Node.js API wrapper tests', function () {
365372
})
366373
})
367374
})
375+
376+
it('object.stat')
377+
it('object.links')
368378
})
369379

370380
describe('.swarm', function () {
381+
it('.swarm.peers')
382+
it('.swarm.connect', function (done) {
383+
// Done in the before part
384+
done()
385+
})
371386
})
372387

373388
describe('.ping', function () {
@@ -387,15 +402,23 @@ describe('IPFS Node.js API wrapper tests', function () {
387402
})
388403

389404
describe('.pin', function () {
405+
it('.pin.add')
406+
it('.pin.remove')
407+
it('.pin.list')
390408
})
391409

392410
describe('.gateway', function () {
411+
it('.gateway.disable')
412+
it('.gateway.enable')
393413
})
394414

395415
describe('.log', function () {
416+
it('.log.tail')
396417
})
397418

398419
describe('.name', function () {
420+
it('.name.publish')
421+
it('.name.resolve')
399422
})
400423

401424
describe('.refs', function () {
@@ -453,6 +476,8 @@ describe('IPFS Node.js API wrapper tests', function () {
453476
})
454477
})
455478
})
479+
480+
it('.dht.findproovs')
456481
})
457482

458483
describe('closing tests', function () {

0 commit comments

Comments
 (0)