From 21feac733fa89ab6f6dc2c8e9d928efe58323a49 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 7 Feb 2018 10:04:47 +0000 Subject: [PATCH] allow stats tests to run on js-ipfs --- js/src/stats.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/js/src/stats.js b/js/src/stats.js index b634ad1c3..491c65317 100644 --- a/js/src/stats.js +++ b/js/src/stats.js @@ -39,11 +39,6 @@ module.exports = (common) => { }) it('.bitswap', (done) => { - if (!withGo) { - console.log('Not supported in js-ipfs yet') - return done() - } - ipfs.stats.bitswap((err, res) => { statsTests.expectIsBitswap(err, res) done() @@ -51,11 +46,6 @@ module.exports = (common) => { }) it('.bitswap Promise', () => { - if (!withGo) { - console.log('Not supported in js-ipfs yet') - return - } - return ipfs.stats.bitswap().then((res) => { statsTests.expectIsBitswap(null, res) }) @@ -117,11 +107,6 @@ module.exports = (common) => { }) it('.repo', (done) => { - if (!withGo) { - console.log('Not supported in js-ipfs yet') - return done() - } - ipfs.stats.repo((err, res) => { statsTests.expectIsRepo(err, res) done() @@ -129,11 +114,6 @@ module.exports = (common) => { }) it('.repo Promise', () => { - if (!withGo) { - console.log('Not supported in js-ipfs yet') - return - } - return ipfs.stats.repo().then((res) => { statsTests.expectIsRepo(null, res) })