From 45d92c14c93b416d1036e5fa966006d5550cbf2d Mon Sep 17 00:00:00 2001 From: freearhey Date: Wed, 16 Sep 2020 16:05:25 +0300 Subject: [PATCH] Update test.js Fixes wrong channels counter --- scripts/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test.js b/scripts/test.js index 1aca3ef9d1..658589d60e 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -33,6 +33,7 @@ async function test() { omitMetadata: true, parallel: 1, itemCallback: item => { + stats.channels++ if (!item.status.ok && item.status.reason !== 'Timed out') { stats.failures++