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

Commit

Permalink
test: enable pin tests (#1405)
Browse files Browse the repository at this point in the history
* test: use pin tests

* test: fix evil typo

* chore: increase timeout for pinSet after

License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
  • Loading branch information
daviddias authored and alanshaw committed Jun 22, 2018
1 parent a14fb0f commit 2e94184
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions test/core/node.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict'

require('./pin')
require('./pin-set')
// require('./key-exchange')
4 changes: 2 additions & 2 deletions test/core/pin-set.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const parallelLimit = require('async/parallelLimit')
const series = require('async/series')
const { fromB58String } = require('multihashes')
const { DAGNode } = require('ipld-dag-pb')
const CID = require('CIDs')
const CID = require('cids')

const IPFS = require('../../src/core')
const createPinSet = require('../../src/core/components/pin-set')
Expand Down Expand Up @@ -63,7 +63,7 @@ describe('pinSet', function () {
})

after(function (done) {
this.timeout(10 * 1000)
this.timeout(20 * 1000)
ipfs.stop(done)
})

Expand Down
2 changes: 1 addition & 1 deletion test/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
require('./cli')
require('./http-api')
require('./gateway')
// require('./core') // get automatically picked up
require('./core/node.js')

0 comments on commit 2e94184

Please sign in to comment.