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

fix: make fakeAsync test spec timer id global#1207

Merged
vikerman merged 1 commit intoangular:masterfrom
vikerman:nextid
Mar 21, 2019
Merged

fix: make fakeAsync test spec timer id global#1207
vikerman merged 1 commit intoangular:masterfrom
vikerman:nextid

Conversation

@vikerman
Copy link
Copy Markdown
Contributor

There is a possibility that a single test gets timer id-s from two
separate fakeAsync test zones and the id-s could clash.

This changes makes it such that the next timer id is global and the can
never clash.

There is a possibility that a single test gets timer id-s from two
separate fakeAsync test zones and the id-s could clash.

This changes makes it such that the next timer id is global and the can
never clash.
@vikerman vikerman merged commit d32e79b into angular:master Mar 21, 2019
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