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

Function api

__tests__/sync-object-members.test.ts:153–154  ·  view source on GitHub ↗
(extra: string)

Source from the content-addressed store, hash-verified

151 it('leaves a member alone that names an import under another name, on an edit that keeps it', async () => {
152 const reopened = vi.spyOn(QueryBuilder.prototype, 'replaceResolutionEdgesWithUnresolvedRefs');
153 const api = (extra: string): string =>
154 `import { getUser as fetchUser } from './users';\nexport const api = { fetchUser };\n${extra}`;
155 const { root, graph, full } = await syncEdit(
156 {
157 'src/users.ts': 'export function getUser() { return 1; }\n',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected