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

Function sourceFiles

__tests__/frameworks-integration.test.ts:853–854  ·  view source on GitHub ↗
(edges: typeof alphaIncoming)

Source from the content-addressed store, hash-verified

851 // Sanity: the edges don't cross — alpha's incoming sources don't include
852 // beta's filePath and vice versa.
853 const sourceFiles = (edges: typeof alphaIncoming) =>
854 edges.map((e) => cg.getNode(e.source)?.filePath).filter(Boolean);
855 expect(sourceFiles(alphaIncoming).some((p) => p?.includes('CallerA.kt'))).toBe(true);
856 expect(sourceFiles(betaIncoming).some((p) => p?.includes('CallerB.kt'))).toBe(true);
857 });

Callers 1

Calls 1

getNodeMethod · 0.80

Tested by

no test coverage detected