MCPcopy
hub / github.com/react/react / ensureLogIsEmpty

Function ensureLogIsEmpty

packages/scheduler/src/__tests__/Scheduler-test.js:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 };
103
104 function ensureLogIsEmpty() {
105 if (eventLog.length !== 0) {
106 throw Error('Log is not empty. Call assertLog before continuing.');
107 }
108 }
109 function advanceTime(ms) {
110 currentTime += ms;
111 }

Callers 1

fireMessageEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected