(input: Parameters<typeof fetch>[0])
| 590 | } |
| 591 | |
| 592 | function fetchInputUrl(input: Parameters<typeof fetch>[0]): string { |
| 593 | if (typeof input === 'string') return input; |
| 594 | if (input instanceof URL) return input.toString(); |
| 595 | return input.url; |
| 596 | } |
| 597 | |
| 598 | function parseRecordedJsonBody(call: FetchCall | undefined): unknown { |
| 599 | const body = call?.init.body; |
no test coverage detected