( env: Record<string, string | undefined>, )
| 203 | ): Promise<Array<string>> => (await captureExports(env, options)).map((request) => request.url); |
| 204 | |
| 205 | const captureExportHeaders = async ( |
| 206 | env: Record<string, string | undefined>, |
| 207 | ): Promise<Record<string, string> | undefined> => { |
| 208 | const requests = await captureExports(env); |
| 209 | const headers = requests[0]?.headers; |
| 210 | return headers ? Object.fromEntries(headers.entries()) : undefined; |
| 211 | }; |
| 212 | |
| 213 | const captureExports = async ( |
| 214 | env: Record<string, string | undefined>, |
no test coverage detected