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

Function advance

graph-ui/src/system/useSystemPoll.test.tsx:19–19  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

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;
22 await act(async () => { document.dispatchEvent(new Event('visibilitychange')); });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected