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

Function click

graph-ui/src/projects/ProjectSwitcher.test.tsx:32–35  ·  view source on GitHub ↗
(element: HTMLElement | null)

Source from the content-addressed store, hash-verified

30}
31
32async function click(element: HTMLElement | null): Promise<void> {
33 expect(element).not.toBeNull();
34 await act(async () => element?.click());
35}
36
37function button(label: string): HTMLButtonElement | null {
38 return [...container.querySelectorAll('button')].find(node => node.textContent?.includes(label)) ?? null;

Callers 1

Calls 1

expectFunction · 0.85

Tested by

no test coverage detected