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

fix: enable tests in node that were not being included #1499

Merged
merged 2 commits into from
Sep 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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')