Update test.js
Fixes wrong channels counter
This commit is contained in:
		| @@ -33,6 +33,7 @@ async function test() { | |||||||
|       omitMetadata: true, |       omitMetadata: true, | ||||||
|       parallel: 1, |       parallel: 1, | ||||||
|       itemCallback: item => { |       itemCallback: item => { | ||||||
|  |         stats.channels++ | ||||||
|         if (!item.status.ok && item.status.reason !== 'Timed out') { |         if (!item.status.ok && item.status.reason !== 'Timed out') { | ||||||
|           stats.failures++ |           stats.failures++ | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user