mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fix typo inteval -> interval & continutation -> continuation (#16760)
* fix typo alterate -> alternate * fix typo interal -> interval & continutation -> continuation
This commit is contained in:
@@ -312,7 +312,7 @@ describe('SchedulerBrowser', () => {
|
||||
runtime.assertLog(['Message Event', 'B']);
|
||||
});
|
||||
|
||||
it('adjusts frame rate by measuring inteval between rAF events', () => {
|
||||
it('adjusts frame rate by measuring interval between rAF events', () => {
|
||||
runtime.setHardwareFrameRate(60);
|
||||
|
||||
scheduleCallback(NormalPriority, () => runtime.log('Tick'));
|
||||
@@ -371,7 +371,7 @@ describe('SchedulerBrowser', () => {
|
||||
runtime.assertLog(['Message Event', 'Task']);
|
||||
});
|
||||
|
||||
it('task with continutation', () => {
|
||||
it('task with continuation', () => {
|
||||
scheduleCallback(NormalPriority, () => {
|
||||
runtime.log('Task');
|
||||
while (!Scheduler.unstable_shouldYield()) {
|
||||
|
||||
Reference in New Issue
Block a user