(config: E2eConfig | undefined)
| 4358 | } |
| 4359 | |
| 4360 | function getRelayIdentity(config: E2eConfig | undefined): TestIdentity { |
| 4361 | const identity = getIdentity(config); |
| 4362 | if (!identity) { |
| 4363 | throw new Error("Relay identity required."); |
| 4364 | } |
| 4365 | |
| 4366 | return identity; |
| 4367 | } |
| 4368 | |
| 4369 | async function relayJsonRequest<T>( |
| 4370 | config: E2eConfig | undefined, |
no test coverage detected