(input: Parameters<typeof fetch>[0])
| 592 | } |
| 593 | |
| 594 | function fetchUrl(input: Parameters<typeof fetch>[0]): string { |
| 595 | if (typeof input === 'string') return input; |
| 596 | if (input instanceof URL) return input.toString(); |
| 597 | return input.url; |
| 598 | } |
| 599 | |
| 600 | function pathFromUrl(url: string): string { |
| 601 | try { |
no test coverage detected