-
Notifications
You must be signed in to change notification settings - Fork 256
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
ReferenceError: requestAnimationFrame is not defined #156
Comments
I ran into this as well. I'm assuming this is because |
Hmmm... So Flip Move has been using Super strange that So for me, the mystery isn't why the error is being thrown (since, as @kentcdodds points out, I think this is a bring-your-own-polyfill type situation), it's why it wasn't being thrown previously. Will dig into this a bit and see what I can figure out! |
Thanks @joshwcomeau! Really strange this started happening. I haven't upgraded Jest yet, so I don't expect it to be that... |
@joshwcomeau Very interesting. I started on 2.9.1 and reverted to it for now. When I have some more time I'll investigate further on what else could change in that regard. I will try @kentcdodds fix asap and let you know what happens |
My polyfill didn't really quite do it, I ended up just using this |
Going to close this issue, as it doesn't seem to be affecting users on a wide scale. Still very mysterious to me! If anyone experiences this issue, please reopen. Additionally, if anyone learns more about this, please share! |
I have just updated to 2.9.10 and now get this error when running tests in Jest.
The text was updated successfully, but these errors were encountered: