MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / underlying

Function underlying

packages/core/sdk/src/hosted-http-client.test.ts:705–708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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" }],

Callers 1

guardFetchFunction · 0.85

Calls 2

pushMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected