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

Function visible

graph-ui/src/system/useSystemPoll.test.tsx:20–23  ·  view source on GitHub ↗
(next: DocumentVisibilityState)

Source from the content-addressed store, hash-verified

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')); });
23};
24
25beforeEach(() => {
26 vi.useFakeTimers();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected