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

Function appRef

__tests__/resolution.test.ts:207–215  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

205 updatedAt: Date.now(),
206 });
207 const appRef = (name: string) => ({
208 fromNodeId: 'file:src/myapp.app.src',
209 referenceName: name,
210 referenceKind: 'imports' as const,
211 line: 6,
212 column: 0,
213 filePath: 'src/myapp.app.src',
214 language: 'erlang' as const,
215 });
216 expect(matchReference(appRef('ssl'), context)).toBeNull();
217 expect(matchReference(appRef('my_behaviour'), context)?.targetNodeId).toBe(behaviourModule.id);
218 });

Callers 1

resolution.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected