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

Function routeAt

__tests__/sync-navigation-retry.test.ts:576–576  ·  view source on GitHub ↗
(route: Node, path: string)

Source from the content-addressed store, hash-verified

574
575 /** The app's `/` route, moved to `path` — a route of that app the sync added. */
576 const routeAt = (route: Node, path: string): Node => ({ ...route, id: route.id.replace(/:\/$/, `:${path}`), name: path });
577
578 it('re-opens the calls in the app the route belongs to, failed and resolved, and no others', async () => {
579 const graph = await monorepo();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected