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

Function recordUnhandled

__tests__/watcher.test.ts:986–986  ·  view source on GitHub ↗
(reason: unknown)

Source from the content-addressed store, hash-verified

984 describe('one that throws', () => {
985 const unhandled: unknown[] = [];
986 const recordUnhandled = (reason: unknown) => { unhandled.push(reason); };
987 const hostBug = () => { throw new Error('host bug'); };
988 const warned = (spy: { mock: { calls: unknown[][] } }, text: string) =>
989 spy.mock.calls.some((c) => typeof c[0] === 'string' && c[0].includes(text));

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected