
I already have latest version of @testing-library/user-event
and @testing-library/dom (Indirectly refrenced)
Still getting this error in my React JS code, please help me.
@kentcdodds
I just saw this https://github.com/testing-library/user-event/releases
And so i reverted user-events to point to c12.0.2 and it started working fine.
That means with the current new release: v12.0.11. The same above error coming up.
Please do fix this with current version also.
Thanks
You need to have the latest version of DOM Testing Library installed. Then that will work.
Can confirm. Just ran into this issue, but I forgot to install @testing-library/dom.
Most helpful comment
You need to have the latest version of DOM Testing Library installed. Then that will work.