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

Function warned

__tests__/watcher.test.ts:988–989  ·  view source on GitHub ↗
(spy: { mock: { calls: unknown[][] } }, text: string)

Source from the content-addressed store, hash-verified

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));
990
991 beforeEach(() => {
992 unhandled.length = 0;

Callers 1

watcher.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected