()
| 446 | // ------------------------------------------------------------------------ // |
| 447 | |
| 448 | async 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 |
no test coverage detected
searching dependent graphs…