mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Spelling is fundamental (#16782)
This commit is contained in:
@@ -70,7 +70,7 @@ function logEvent(entries) {
|
||||
eventLogSize *= 2;
|
||||
if (eventLogSize > MAX_EVENT_LOG_SIZE) {
|
||||
console.error(
|
||||
"Scheduler Profiling: Event log exceeded maxinum size. Don't " +
|
||||
"Scheduler Profiling: Event log exceeded maximum size. Don't " +
|
||||
'forget to call `stopLoggingProfilingEvents()`.',
|
||||
);
|
||||
stopLoggingProfilingEvents();
|
||||
|
||||
@@ -518,7 +518,7 @@ Task 2 [Normal] │ ░░░░░░░░🡐 canceled
|
||||
|
||||
expect(console.error).toHaveBeenCalledTimes(1);
|
||||
expect(console.error.calls.argsFor(0)[0]).toBe(
|
||||
"Scheduler Profiling: Event log exceeded maxinum size. Don't forget " +
|
||||
"Scheduler Profiling: Event log exceeded maximum size. Don't forget " +
|
||||
'to call `stopLoggingProfilingEvents()`.',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user