mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
This reverts commit e9c1445ba0.
This commit is contained in:
@@ -20,9 +20,7 @@ function assertYieldsWereCleared(Scheduler) {
|
||||
const actualYields = Scheduler.unstable_clearYields();
|
||||
if (actualYields.length !== 0) {
|
||||
throw new Error(
|
||||
'Log of yielded values is not empty: ' +
|
||||
JSON.stringify(actualYields) +
|
||||
'. ' +
|
||||
'Log of yielded values is not empty. ' +
|
||||
'Call expect(Scheduler).toHaveYielded(...) first.'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user