()
| 703 | it("applies the DNS guard to fetch callers", async () => { |
| 704 | let calls = 0; |
| 705 | const underlying: typeof globalThis.fetch = async () => { |
| 706 | calls++; |
| 707 | return new Response("unexpected", { status: 200 }); |
| 708 | }; |
| 709 | const hostedFetch = makeHostedFetch({ |
| 710 | fetch: underlying, |
| 711 | resolveHostname: async () => [{ address: "10.0.0.20" }], |
no test coverage detected