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

Function at

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

Source from the content-addressed store, hash-verified

304 expect(model.forks!.get('fork:0')).toEqual({ id: 'fork:0', on: 'ready', form: 'if', label: 'ready?' });
305 // The point sits between the step before the fork and the arms; it is not a step.
306 const at = (id: string) => model.layout.nodes.find((n) => n.id === id)!;
307 expect(at('fork:0').y).toBeGreaterThan(at('lookup').y);
308 expect(at('fork:0').y).toBeLessThan(at('inside').y);
309 expect(model.nodes.has('fork:0')).toBe(false);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected