(client: Client, integrations: Integration[])
| 97 | * Execute the `afterAllSetup` hooks of the given integrations. |
| 98 | */ |
| 99 | export function afterSetupIntegrations(client: Client, integrations: Integration[]): void { |
| 100 | for (const integration of integrations) { |
| 101 | // guard against empty provided integrations |
| 102 | if (integration?.afterAllSetup) { |
| 103 | integration.afterAllSetup(client); |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | /** Setup a single integration. */ |
| 109 | export function setupIntegration(client: Client, integration: Integration, integrationIndex: IntegrationIndex): void { |
no test coverage detected