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

Function toggle

graph-ui/src/system/IndexesPanel.test.tsx:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14let api: ReturnType<typeof source>;
15let listProjects: ReturnType<typeof vi.fn<() => Promise<ProjectEntry[]>>>;
16const toggle = () => container.querySelector<HTMLInputElement>('[role="switch"]')!;
17const render = async (active = true, refreshToken = 0) => { await act(async () => { root.render(<IndexesPanel api={api} listProjects={listProjects} active={active} paused={false} refreshToken={refreshToken} onOpenProjects={vi.fn()} />); }); };
18
19beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected