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

Function pickPath

graph-ui/src/galaxy/GalaxyPanel.stability.test.tsx:175–179  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

173 select.value = value; select.dispatchEvent(new Event('change', { bubbles: true }));
174});
175const pickPath = (name: string) => act(async () => {
176 host.querySelector<HTMLDetailsElement>('.atlas-graph-path-picker')!.open = true;
177 [...host.querySelectorAll<HTMLButtonElement>('.atlas-graph-path-menu li button')]
178 .find(entry => entry.querySelector('strong')?.textContent === name)!.click();
179});
180
181it('drops a path on a new scope key, so returning to the old key does not bring it back', async () => {
182 await act(async () => root.render(<GalaxyPanel project="sample" visible workspaceExpanded onOpenNode={vi.fn()} fetch={graphFetch()} />));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected