Replies: 1 comment
-
What's the underlying thing you were trying to do that prompted this error? Have a look at this setup test file You probably need to mock the requestAnimationFrame to remove the warning |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🐛 Bug report
I am using Chakra UI as the UI framework in my React TS application and while running the tests using Jest, I am getting the following warnings:
💥 Steps to reproduce
Use Chakra UI
@zag-js/dismissable
in react with jest as a testing libraryrun the tests and see the error.
🧭 Possible Solution
I tried reaching the code and commented the following line:
Although this fixes the warnings in my local, as it's in
node_modules
this will again be reproduced in my repo's contributors code base.🌍 System information
Beta Was this translation helpful? Give feedback.
All reactions