diff --git a/js/src/files.js b/js/src/files.js index 38acc6e5..2335ee94 100644 --- a/js/src/files.js +++ b/js/src/files.js @@ -919,8 +919,8 @@ module.exports = (common) => { }) }) - describe('.lsPullStream', function (done) { - before((done) => { + describe('.lsPullStream', () => { + before(function (done) { // TODO: https://github.com/ipfs/js-ipfs-api/issues/339 if (!isNode) { this.skip() } diff --git a/js/src/stats.js b/js/src/stats.js index af9736e1..e441147d 100644 --- a/js/src/stats.js +++ b/js/src/stats.js @@ -63,7 +63,7 @@ module.exports = (common) => { }) }) - it('.bw Promise', function (done) { + it('.bw Promise', function () { if (!withGo) { console.log('Not supported in js-ipfs yet') this.skip()