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

Function label

__tests__/ui-program-model.test.ts:312–312  ·  view source on GitHub ↗
(to: string)

Source from the content-addressed store, hash-verified

310 expect(model.counts.effect).toBe(3);
311 // The lines out of it say the arm; the line into it says nothing.
312 const label = (to: string) => [...model.edges.values()].find((e) => e.to === to)!.label;
313 expect(label('fork:0')).toBe('');
314 expect(label('inside')).toBe('yes');
315 expect(label('bail')).toBe('no');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected