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

Function link

__tests__/ui-steps-api.test.ts:225–226  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

223 expect(byLabel.get('/')?.cut).toBe('screen');
224
225 const link = (from: string, to: string) =>
226 payload.links.find((l) => l.from === byLabel.get(from)!.id && l.to === byLabel.get(to)!.id);
227 const req = link('handleZipComplete', 'client.post +1');
228 const tap = link('/capture/review', 'handleApprove');
229 expect(tap?.kind).toBe('handler');

Callers 1

Calls 1

getMethod · 0.65

Tested by

no test coverage detected