Skip to content

Commit

Permalink
Remove Scheduler.log from ReactSuspenseFuzz-test
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Apr 10, 2024
1 parent 2243b40 commit 128f11c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,24 +115,19 @@ describe('ReactSuspenseFuzz', () => {
setTimeout(() => {
cache.set(fullText, fullText);
pendingTasks.delete(task);
Scheduler.log(task.label);
resolve();
}, delay);
},
};
cache.set(fullText, thenable);
Scheduler.log(`Suspended! [${fullText}]`);
throw thenable;
} else if (typeof resolvedText.then === 'function') {
const thenable = resolvedText;
Scheduler.log(`Suspended! [${fullText}]`);
throw thenable;
throw resolvedText;
}
} else {
resolvedText = fullText;
}

Scheduler.log(resolvedText);
return resolvedText;
}

Expand Down

0 comments on commit 128f11c

Please sign in to comment.