()
| 419 | let connectionCount = 0; |
| 420 | |
| 421 | async function wait$() { |
| 422 | for await (const _event of on(client, 'connectionCreated', { signal })) { |
| 423 | connectionCount++; |
| 424 | if (connectionCount >= count) { |
| 425 | break; |
| 426 | } |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | await Promise.all([wait$(), client.connect()]); |
| 431 | } |
no outgoing calls
no test coverage detected