-
Notifications
You must be signed in to change notification settings - Fork 38
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
Set pretendToBeVisual
to true?
#38
Comments
Even if
But I'm not 100% where to do this? My global unit tests setup currently looks like:
Sorry to hijack 😶 |
I had a look through the source of index.js, seems you can pass in jsdom options to jsdom-global. This did the trick for me:
|
How do you do this with |
Using jsdom-global w/ some mocha tests and I've been polyfilling rAF up to this point. jsdom 11 now ships with
requestAnimationFrame
, but it has to be enabled. Is this somethingjsdom-global
would be interested in doing by default?The text was updated successfully, but these errors were encountered: