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

Commit c3add1b

Browse files
authored
Merge pull request #200 from ipfs/fix/dns-test-w-callback
Fixes dns test with callback
2 parents 264a013 + 787d2ed commit c3add1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/miscellaneous.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ module.exports = (common) => {
5050
})
5151
})
5252

53-
it('.dns', () => {
54-
return ipfs.dns('ipfs.io', (err, path) => {
53+
it('.dns', (done) => {
54+
ipfs.dns('ipfs.io', (err, path) => {
5555
expect(err).to.not.exist()
5656
expect(path).to.exist()
57+
done()
5758
})
5859
})
5960

0 commit comments

Comments
 (0)