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

Commit 8cd4d54

Browse files
author
Alan Shaw
authored
chore: increase silent test timeout and also clean up node (#1775)
* chore: update dependencies License: MIT Signed-off-by: Alan Shaw <[email protected]> * chore: use hat License: MIT Signed-off-by: Alan Shaw <[email protected]> * chore: increase silent test timeout and also clean up node License: MIT Signed-off-by: Alan Shaw <[email protected]> * fix: revert kad dep upgrade License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 5e555ef commit 8cd4d54

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)