diff --git a/js/src/stats.js b/js/src/stats.js index ad94eafc..b634ad1c 100644 --- a/js/src/stats.js +++ b/js/src/stats.js @@ -109,7 +109,10 @@ module.exports = (common) => { pull( stream, - pull.log() + pull.collect((err, data) => { + statsTests.expectIsBandwidth(err, data[0]) + done() + }) ) })