(url: string, headers?: HeadersInit)
| 28 | |
| 29 | describe("buildDocsUpstream", () => { |
| 30 | const upstreamFor = (url: string, headers?: HeadersInit) => |
| 31 | buildDocsUpstream(new Request(url, { headers })); |
| 32 | |
| 33 | it("swaps the origin to Mintlify over https while preserving path + query", () => { |
| 34 | const upstream = new URL(upstreamFor("https://executor.sh/docs/guides/auth?theme=dark").url); |
no test coverage detected