Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix(spec): fix flush() behavior in handling periodic timers #881

Merged
merged 1 commit into from
Aug 18, 2017

Conversation

vikerman
Copy link
Contributor

FakeAsyncTest Zone now just finds the last task currently in the timer queue
and tick-s till the endTime of that task.

Solves the issue when there is a short running setInterval in front of a
longer setInterval/setTimeout.

Copy link
Contributor

@mhevery mhevery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs failing test.

FakeAsyncTest Zone now just finds the last task currently in the timer queue
and tick-s till the endTime of that task.

Solves the issue when there is a short running setInterval in front of a
longer setInterval/setTimeout.
@mhevery mhevery merged commit eed776c into angular:master Aug 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants