Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: enable tests in node that were not being included (#1499)
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
  • Loading branch information
Alan Shaw authored Sep 14, 2018
1 parent 6a0d990 commit 2585431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const resolvePath = promisify(function (objectAPI, ipfsPaths, callback) {
return cb(null, rootHash.buffer)
}

objectAPI.get(rootHash, follow.bind(null, rootLinks))
objectAPI.get(rootHash.multihash, follow.bind(null, rootLinks))

// recursively follow named links to the target node
function follow (links, err, obj) {
Expand Down
3 changes: 3 additions & 0 deletions test/core/node.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
'use strict'

require('./circuit-relay')
require('./key-exchange')
require('./pin')
require('./pin-set')
// require('./key-exchange')
require('./utils')

0 comments on commit 2585431

Please sign in to comment.