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

Function fakeFetch

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

Source from the content-addressed store, hash-verified

523 Effect.gen(function* () {
524 let resolutions = 0;
525 const fakeFetch: typeof globalThis.fetch = async () => new Response("ok", { status: 200 });
526 const hosted = makeHostedHttp({
527 fetch: fakeFetch,
528 resolveHostname: async () => {

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected