mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Update test.js
Fixes wrong channels counter
This commit is contained in:
parent
c79415e2d2
commit
45d92c14c9
1 changed files with 1 additions and 0 deletions
|
@ -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++
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue