fix typo inteval -> interval & continutation -> continuation (#16760)
* fix typo alterate -> alternate * fix typo interal -> interval & continutation -> continuation
Heaven committed
Sep 15, 2019 at 03:51 UTC
cdbfa5044b596ba5feb6d96408ada3eb8907e53c
1 file changed
+2
-2
packages/scheduler/src/__tests__/SchedulerBrowser-test.internal.js
+2
-2
@@ -312,7 +312,7 @@ describe('SchedulerBrowser', () => {
312
runtime.assertLog(['Message Event', 'B']);
313
});
314
315
- it('adjusts frame rate by measuring inteval between rAF events', () => {
315
+ it('adjusts frame rate by measuring interval between rAF events', () => {
316
runtime.setHardwareFrameRate(60);
317
318
scheduleCallback(NormalPriority, () => runtime.log('Tick'));
@@ -371,7 +371,7 @@ describe('SchedulerBrowser', () => {
371
runtime.assertLog(['Message Event', 'Task']);
372
});
373
374
- it('task with continutation', () => {
374
+ it('task with continuation', () => {
375
scheduleCallback(NormalPriority, () => {
376
runtime.log('Task');
377
while (!Scheduler.unstable_shouldYield()) {