-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Upgrade from 2.1.4 to 2.1.5: TypeError: e.getAnimations is not a function
#3469
Comments
Hey! This should be fixed by #3473, and will be available is available in the latest release. The issue is that we rely on To solve this, we ship with a very minimal polyfill, just enough to run the tests. However, we do show a warning now that guides you to using a polyfill to silence the warnings. I would also recommend to:
You can already try it using:
|
Thank you @RobinMalfait - that's great news, I'll try it out! We're using Playwright as well, but also vitest/jsdom specifically for component tests. Latest means 2.1.7 is the first to fix I assume. I now see this warning as suggested:
|
…t not interceptors) (#2766) * deps(website): update headlessui and add jsdom polyfill see: - tailwindlabs/headlessui#3473 - tailwindlabs/headlessui#3469 * Update msw, pinning transitive dep msw interceptors to 0.33.3 for the time being see: - mswjs/msw#2273
What package within Headless UI are you using?
For example: @headlessui/react
What version of that package are you using?
For example: v2.1.5
What browser are you using?
vitest
Reproduction URL
https://github.com/loculus-project/loculus/tree/headless-bug
Describe your issue
After upgrading (patch update) from 2.1.4 to 2.1.5 vitest errors with:
The text was updated successfully, but these errors were encountered: