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

Function at

__tests__/tanstack-router.test.ts:344–344  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

342 const screens = await buildScreens(cg, tmpDir);
343 expect(screens.routed).toBe(true);
344 const at = (p: string) => screens.screens.find((s) => s.path === p)!;
345 expect(at('/posts').component?.name).toBe('PostsIndexComponent');
346 const toPost = screens.links.find((l) => l.from === at('/').id && l.to === at('/posts/:postId').id)!;
347 expect(toPost).toBeDefined();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected