(body: string, status: number)
| 12 | } |
| 13 | |
| 14 | function textFetch(body: string, status: number): typeof fetch { |
| 15 | return (async () => new Response(body, { status })) as unknown as typeof fetch; |
| 16 | } |
| 17 | |
| 18 | function apiKeyCred(): ResolvedCredential { |
| 19 | return { type: "api_key", key: "hg_x", source: "env" }; |