MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / failing

Function failing

__tests__/update-check.test.ts:97–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 const t1 = T0 + UPDATE_CHECK_TTL_MS + 1;
96 let calls = 0;
97 const failing = async (): Promise<string> => { calls++; throw new Error('offline'); };
98
99 // The outage must not hide the already-known update.
100 const notice = await refreshUpdateCheck(deps({ resolveLatest: failing, now: () => t1 }));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected