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

Commit 2585431

Browse files
author
Alan Shaw
authored
fix: enable tests in node that were not being included (#1499)
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 6a0d990 commit 2585431

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/core/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const resolvePath = promisify(function (objectAPI, ipfsPaths, callback) {
109109
return cb(null, rootHash.buffer)
110110
}
111111

112-
objectAPI.get(rootHash, follow.bind(null, rootLinks))
112+
objectAPI.get(rootHash.multihash, follow.bind(null, rootLinks))
113113

114114
// recursively follow named links to the target node
115115
function follow (links, err, obj) {

test/core/node.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
'use strict'
22

3+
require('./circuit-relay')
4+
require('./key-exchange')
35
require('./pin')
46
require('./pin-set')
57
// require('./key-exchange')
8+
require('./utils')

0 commit comments

Comments
 (0)