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

Function spyReopen

__tests__/python-module-resolution.test.ts:1164–1170  ·  view source on GitHub ↗

Spies on both re-open paths of the orchestrator.

(graph: CodeGraph)

Source from the content-addressed store, hash-verified

1162
1163 /** Spies on both re-open paths of the orchestrator. */
1164 function spyReopen(graph: CodeGraph) {
1165 const orchestrator = (graph as unknown as { orchestrator: object }).orchestrator;
1166 return {
1167 all: vi.spyOn(orchestrator as { resurrectResolutionEdgesForLanguage: () => number }, 'resurrectResolutionEdgesForLanguage'),
1168 narrow: vi.spyOn(orchestrator as { resurrectResolutionEdgesTouching: () => number }, 'resurrectResolutionEdgesTouching'),
1169 };
1170 }
1171
1172 const subpackageRepo = {
1173 'pkg/__init__.py': '',

Calls

no outgoing calls

Tested by

no test coverage detected