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

Function render

graph-ui/src/system/useSystemPoll.test.tsx:16–18  ·  view source on GitHub ↗
(read: () => Promise<number>, active = true, paused = false)

Source from the content-addressed store, hash-verified

14}
15const state = () => JSON.parse(container.querySelector('output')?.textContent ?? '{}');
16const render = async (read: () => Promise<number>, active = true, paused = false) => {
17 await act(async () => { root.render(<Harness read={read} active={active} paused={paused} />); });
18};
19const advance = async (milliseconds: number) => { await act(async () => { await vi.advanceTimersByTimeAsync(milliseconds); }); };
20const visible = async (next: DocumentVisibilityState) => {
21 visibility = next;

Callers 1

Calls 1

renderMethod · 0.65

Tested by

no test coverage detected