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

Function edit

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

Source from the content-addressed store, hash-verified

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 })); }); };
30async function render(embedded = false, hidden = false, active = true) { await act(async () => root.render(<div hidden={hidden}><ConfigPanel embedded={embedded} active={active} project="config-test" service={service} display={DEFAULT_GRAPH_DISPLAY} onDisplay={display} onOpenBrowserModels={model} onOpenDisplay={vi.fn()} onClose={close} /></div>)); }
31
32describe('Config panel', () => {

Callers 1

Calls 1

inputFunction · 0.85

Tested by

no test coverage detected