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

Commit f88d99f

Browse files
committed
fix: use ipfsPath instead of path
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 4c25a4e commit f88d99f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/src/miscellaneous/resolve.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ module.exports = (createCommon, options) => {
8888

8989
ipfs.resolve('/ipns/ipfs.io', (err, path) => {
9090
expect(err).to.not.exist()
91-
expect(isIpfs.path(path)).to.be.true()
91+
expect(isIpfs.ipfsPath(path)).to.be.true()
9292
done()
9393
})
9494
})
@@ -103,7 +103,7 @@ module.exports = (createCommon, options) => {
103103
ipfs.resolve(`/ipns/${res.name}`, { recursive: true }, (err, res) => {
104104
expect(err).to.not.exist()
105105
expect(res).to.not.equal('/ipns/ipfs.io')
106-
expect(isIpfs.path(res)).to.be.true()
106+
expect(isIpfs.ipfsPath(res)).to.be.true()
107107
done()
108108
})
109109
})

0 commit comments

Comments
 (0)