(response: Response)
| 4349 | } |
| 4350 | |
| 4351 | async function assertOk(response: Response) { |
| 4352 | if (response.ok) { |
| 4353 | return; |
| 4354 | } |
| 4355 | |
| 4356 | const body = await response.text(); |
| 4357 | throw new Error(body || `Request failed with ${response.status}`); |
| 4358 | } |
| 4359 | |
| 4360 | function getRelayIdentity(config: E2eConfig | undefined): TestIdentity { |
| 4361 | const identity = getIdentity(config); |
no test coverage detected