Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 0a8332d

Browse files
committed
chore: bump dns test timeout
1 parent a83c88b commit 0a8332d

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

js/src/miscellaneous.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ module.exports = (common) => {
5555
})
5656
})
5757

58-
it('.dns', (done) => {
58+
it('.dns', function (done) {
59+
this.timeout(20 * 1000)
60+
5961
ipfs.dns('ipfs.io', (err, path) => {
6062
expect(err).to.not.exist()
6163
expect(path).to.exist()
@@ -80,13 +82,6 @@ module.exports = (common) => {
8082
})
8183
})
8284

83-
it('.dns Promises support', () => {
84-
return ipfs.dns('ipfs.io')
85-
.then((res) => {
86-
expect(res).to.exist()
87-
})
88-
})
89-
9085
// must be last test to run
9186
it('.stop', function (done) {
9287
this.timeout(10 * 1000)

0 commit comments

Comments
 (0)