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

Function fetch

apps/cloud/src/auth/jwks-cache.node.test.ts:50–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 let calls = 0;
49
50 const fetch: typeof globalThis.fetch = async () => {
51 calls++;
52 const body: JSONWebKeySet = { keys: keys.map((k) => ({ ...k })) };
53 return new Response(JSON.stringify(body), {
54 status: 200,
55 headers: { "content-type": "application/json" },
56 });
57 };
58
59 return {
60 fetch,

Callers 10

oauth-metadata.tsFile · 0.50
docs.tsFile · 0.50
posthog.tsFile · 0.50
signOutFunction · 0.50
CreateOrgPageFunction · 0.50
postFunction · 0.50
discoverCliLoginFunction · 0.50
requestJsonFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected