MCPcopy Index your code
hub / github.com/nukeop/nuclear / resetLogStreamForTesting

Function resetLogStreamForTesting

packages/player/src/hooks/useLogStream.ts:106–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104};
105
106export const resetLogStreamForTesting = () => {
107 logBuffer.clear();
108 logStreamInitialized = false;
109};
110
111export const useLogStream = () => {
112 const [logs, setLogs] = useState<LogEntry[]>([]);

Callers 1

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected