From d075bdc2337272e00ec00f51f869daf1deaaa317 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 7 Dec 2018 16:32:21 +0000 Subject: [PATCH] fix: libp2p tests License: MIT Signed-off-by: Alan Shaw --- test/core/libp2p.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/core/libp2p.spec.js b/test/core/libp2p.spec.js index aacc4215a3..c7acca3a6d 100644 --- a/test/core/libp2p.spec.js +++ b/test/core/libp2p.spec.js @@ -76,6 +76,7 @@ describe('libp2p customization', function () { }, _peerInfo: peerInfo, _peerBook: peerBook, + _print: console.log, config: mockConfig, _options: { libp2p: (opts) => { @@ -122,6 +123,7 @@ describe('libp2p customization', function () { }, _peerInfo: peerInfo, _peerBook: peerBook, + _print: console.log, config: mockConfig } @@ -164,6 +166,7 @@ describe('libp2p customization', function () { }, _peerInfo: peerInfo, _peerBook: peerBook, + _print: console.log, config: mockConfig, _options: { config: {