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

Function flaky

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

Source from the content-addressed store, hash-verified

233 const harness = makeFetchHarness([kp.publicJwk]);
234 let upstreamUp = true;
235 const flaky: typeof globalThis.fetch = (...args) =>
236 upstreamUp ? harness.fetch(...args) : failingFetch(...args);
237
238 // ttl short enough that the next call is past it, stale window generous.
239 const jwks = createCachedRemoteJWKSet(jwksUrl, {

Callers

nothing calls this directly

Calls 2

failingFetchFunction · 0.85
fetchMethod · 0.65

Tested by

no test coverage detected