Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/react/react
/ ensureLogIsEmpty
Function
ensureLogIsEmpty
packages/scheduler/src/__tests__/SchedulerPostTask-test.js:129–133 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
127
};
128
129
function
ensureLogIsEmpty() {
130
if
(eventLog.length !== 0) {
131
throw Error(
'Log is not empty. Call assertLog before continuing.'
);
132
}
133
}
134
function
advanceTime(ms) {
135
currentTime += ms;
136
}
Callers
1
flushTasks
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected