( env: Record<string, string | undefined>, )
| 108 | ): Promise<Array<string>> => (await captureExports(env, options)).map((request) => request.url); |
| 109 | |
| 110 | const captureExportHeaders = async ( |
| 111 | env: Record<string, string | undefined>, |
| 112 | ): Promise<Record<string, string> | undefined> => { |
| 113 | const requests = await captureExports(env); |
| 114 | const headers = requests[0]?.headers; |
| 115 | return headers ? Object.fromEntries(headers.entries()) : undefined; |
| 116 | }; |
| 117 | |
| 118 | const captureExports = async ( |
| 119 | env: Record<string, string | undefined>, |
no test coverage detected