This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 407
fakeAsync patch for requestAnimationFrame is not passing the timestamp #1216
Comments
I will check it, thanks |
JiaLiPassion
added a commit
to JiaLiPassion/zone.js
that referenced
this issue
Apr 8, 2019
@santialbo, thank you, this is a bug, I have fixed it in #1220 |
JiaLiPassion
added a commit
to JiaLiPassion/zone.js
that referenced
this issue
Apr 8, 2019
Thank you so much!! do you have any idea when the next release of zone.js will be? |
@santialbo-actimo, I am not sure, but I think it will be released soon. |
vikerman
pushed a commit
that referenced
this issue
Apr 9, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When requestAnimationFrame is patched in fakeAsync the callback is not called with a timestamp like it would be expected. Instead it's called with the callback itself.
I created this repo with the failing test
https://github.com/santialbo/raf-zonejs-test/blob/4491d675287b2513e39244a368877bb951b19248/src/app/app.component.spec.ts#L32-L38
It's a standard cli generated project with just the failing test
The text was updated successfully, but these errors were encountered: