From 2585431ae311213bf4b80d4ebf3971e2b78dc898 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 14 Sep 2018 16:27:20 +0100 Subject: [PATCH] fix: enable tests in node that were not being included (#1499) License: MIT Signed-off-by: Alan Shaw --- src/core/utils.js | 2 +- test/core/node.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/utils.js b/src/core/utils.js index 7b3b992b26..152f582202 100644 --- a/src/core/utils.js +++ b/src/core/utils.js @@ -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) { diff --git a/test/core/node.js b/test/core/node.js index dbe473c458..be56f4b53c 100644 --- a/test/core/node.js +++ b/test/core/node.js @@ -1,5 +1,8 @@ 'use strict' +require('./circuit-relay') +require('./key-exchange') require('./pin') require('./pin-set') // require('./key-exchange') +require('./utils')