(headers: Record<string, string>)
| 12 | |
| 13 | const allowed = new Set<string>(DEFAULT_ALLOWED_HOSTS); |
| 14 | const req = (headers: Record<string, string>): Request => |
| 15 | new Request("http://127.0.0.1/api/scope", { headers }); |
| 16 | |
| 17 | describe("isAllowedOrigin", () => { |
| 18 | it("allows loopback origins on any port", () => { |
no outgoing calls
no test coverage detected