diff --git a/js/src/miscellaneous/dns.js b/js/src/miscellaneous/dns.js index eba40512..993bc02a 100644 --- a/js/src/miscellaneous/dns.js +++ b/js/src/miscellaneous/dns.js @@ -34,7 +34,7 @@ module.exports = (createCommon, options) => { this.timeout(20 * 1000) this.retries(3) - ipfs.dns('ipfs.io', (err, path) => { + ipfs.dns('ipfs.io', {r: true}, (err, path) => { expect(err).to.not.exist() expect(path).to.exist() done() diff --git a/js/src/miscellaneous/resolve.js b/js/src/miscellaneous/resolve.js index be051690..c4b33a9a 100644 --- a/js/src/miscellaneous/resolve.js +++ b/js/src/miscellaneous/resolve.js @@ -92,7 +92,7 @@ module.exports = (createCommon, options) => { it('should resolve an IPNS DNS link', function (done) { this.timeout(20 * 1000) - ipfs.resolve('/ipns/ipfs.io', (err, path) => { + ipfs.resolve('/ipns/ipfs.io', {r: true}, (err, path) => { expect(err).to.not.exist() expect(isIpfs.ipfsPath(path)).to.be.true() done()