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

Commit 7f5288d

Browse files
author
Alan Shaw
committed
chore: increase silent test timeout and also clean up node
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent c5e5c07 commit 7f5288d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/core/create-node.spec.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ describe('create node', function () {
132132
})
133133
})
134134

135-
it('should be silent', (done) => {
135+
it('should be silent', function (done) {
136+
this.timeout(10 * 1000)
137+
136138
sinon.spy(console, 'log')
137139

138140
const ipfs = new IPFS({
@@ -143,7 +145,7 @@ describe('create node', function () {
143145
ipfs.on('ready', () => {
144146
expect(console.log.called).to.be.false()
145147
console.log.restore()
146-
done()
148+
ipfs.stop(done)
147149
})
148150
})
149151

0 commit comments

Comments
 (0)