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

Commit

Permalink
fix: ipfs.io now should be resolved recursively (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
shunkino authored and alanshaw committed Sep 5, 2018
1 parent 1e02740 commit d80d3a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/miscellaneous/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion js/src/miscellaneous/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d80d3a3

Please sign in to comment.