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

Function byId

__tests__/ui-entry-model.test.ts:230–230  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

228 it('offers a flow only from a row that names a callable symbol', () => {
229 const panel = buildEntryPanel(payload());
230 const byId = (id: string) => panel.sections.find((s) => s.id === id);
231 expect(byId('routes')?.groups[0]?.rows[0]?.flowFrom).toBe('RunCycle');
232 expect(byId('hubs')?.groups[0]?.rows[0]?.flowFrom).toBe('Node');
233 // A file has no name `/api/flow` can look up; a chip here would always fail.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected