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

Commit

Permalink
chore: increase silent test timeout and also clean up node (#1775)
Browse files Browse the repository at this point in the history
* chore: update dependencies

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>

* chore: use hat

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>

* chore: increase silent test timeout and also clean up node

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>

* fix: revert kad dep upgrade

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
Alan Shaw authored Dec 15, 2018
1 parent 5e555ef commit 8cd4d54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/core/create-node.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ describe('create node', function () {
})
})

it('should be silent', (done) => {
it('should be silent', function (done) {
this.timeout(10 * 1000)

sinon.spy(console, 'log')

const ipfs = new IPFS({
Expand All @@ -143,7 +145,7 @@ describe('create node', function () {
ipfs.on('ready', () => {
expect(console.log.called).to.be.false()
console.log.restore()
done()
ipfs.stop(done)
})
})

Expand Down

0 comments on commit 8cd4d54

Please sign in to comment.