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

Function button

graph-ui/src/settings/ConfigPanel.test.tsx:26–26  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

24});
25afterEach(async () => { await act(async () => root.unmount()); container.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals(); });
26const button = (text: string) => [...container.querySelectorAll<HTMLButtonElement>('button')].find(item => item.textContent === text)!;
27const click = async (text: string) => { await act(async () => button(text).click()); };
28const input = () => container.querySelector<HTMLInputElement>('#config-CBM_WORKERS')!;
29const edit = async (value: string) => { await act(async () => { Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(input(), value); input().dispatchEvent(new Event('input', { bubbles: true })); }); };

Callers 2

clickFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected