MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / Observe

Function Observe

graph-ui/src/impact/change-analysis.test.tsx:58–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 it('does not paint a previous selection under changed props, even before passive effects', async () => {
57 const captures: string[] = [];
58 function Observe() { useLayoutEffect(() => { captures.push(container.textContent ?? ''); }); return null; }
59 const props = { project: 'fixture', onOpenSource: vi.fn(), loadImpact: pendingImpact };
60 await act(async () => root.render(<><ChangeAnalysisWorkspace {...props} selectedTarget={{ filePath: 'old.c' }} /><Observe /></>));
61 captures.length = 0;

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected