fix typo inteval -> interval & continutation -> continuation (#16760)

* fix typo alterate -> alternate

* fix typo interal -> interval & continutation -> continuation
This commit is contained in:
Heaven 2019-09-15 03:51:20 +08:00 committed by Andrew Clark
parent 45b6443c90
commit cdbfa5044b
1 changed files with 2 additions and 2 deletions

View File

@ -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()) {