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

Function render

graph-ui/src/settings/ConfigPanel.test.tsx:30–30  ·  view source on GitHub ↗
(embedded = false, hidden = false, active = true)

Source from the content-addressed store, hash-verified

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', () => {
33 it('embeds without a backdrop, focus capture, close action, or modal keyboard handling', async () => {

Callers 1

Calls 1

renderMethod · 0.65

Tested by

no test coverage detected