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

Function state

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

Source from the content-addressed store, hash-verified

13 return <><output>{JSON.stringify(reading)}</output><button onClick={reading.refresh}>Refresh</button></>;
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};

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected