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

chore: increase silent test timeout and also clean up node #1775

Merged
merged 4 commits into from
Dec 15, 2018
Merged
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
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