MCPcopy Create free account
hub / github.com/ccxt/ccxt / testAllExchanges

Function testAllExchanges

run-tests.js:448–460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

446// ------------------------------------------------------------------------ //
447
448async function testAllExchanges () {
449
450 const taskPool = TaskPool (maxConcurrency)
451 const results = []
452
453 for (const exchange of exchanges) {
454 taskPool.run (() => testExchange (exchange).then (x => results.push (x)))
455 }
456
457 await Promise.all (taskPool.pending)
458
459 return results
460}
461
462// ------------------------------------------------------------------------ //
463

Callers 1

run-tests.jsFile · 0.85

Calls 5

TaskPoolFunction · 0.85
testExchangeFunction · 0.85
pushMethod · 0.80
runMethod · 0.65
thenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…