-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(schedulers): Fix Asap and AnimationFrame Schedulers to act like the Async Scheduler if delay > 0 #1953
fix(schedulers): Fix Asap and AnimationFrame Schedulers to act like the Async Scheduler if delay > 0 #1953
Conversation
04effb6
to
19b9c13
Compare
19b9c13
to
12a34ec
Compare
@@ -20,6 +20,19 @@ describe('Scheduler.animationFrame', () => { | |||
} | |||
}); | |||
|
|||
it('should act like the async scheduler if delay > 0', (done: MochaDone) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to suggest to use fakeTimer
same as other test case (here) to avoid intermittent test failure by timing condition of test execution environment (usually occurs on mobile emulator browser test)
12a34ec
to
2441ed0
Compare
2441ed0
to
be544f1
Compare
be544f1
to
33e4bed
Compare
@jayphelps sure thing |
… Async if delay > 0
33e4bed
to
d5c682c
Compare
@jayphelps Scheduler with Observable tests added in |
LGTM |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
Asap and AnimationFrame Schedulers should act like the Async Scheduler if delay > 0.
Related issue (if exists):
#1952