You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use one of the framework wrappers, it is important that @testing-library/dom is resolved to the same installation required by the framework wrapper of your choice.
Usually this means that if you use one of the framework wrappers, you should not add @testing-library/dom to your project dependencies.
So is there a disconnect here? @testing-library/user-event tells me not to have @testing-library/dom in my dependencies, whereas @testing-library/react has me add it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In the @testing-library/user-event docs, it states:
But then in the @testing-library/react docs, it has:
So is there a disconnect here?
@testing-library/user-event
tells me not to have@testing-library/dom
in my dependencies, whereas@testing-library/react
has me add it.Beta Was this translation helpful? Give feedback.
All reactions