From 5967ec5edb16ebb05f278fec1260134fe05b0054 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 7 Feb 2018 08:04:50 +0000 Subject: [PATCH] hey --- js/src/stats.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() + }) ) })