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
I'm actually trying to add unit tests on a component which contains de Popover inside and if I simulate a click on the Trigger, I have the following error : DOMRect is not defined
The test implementation is really basic, I use jest and react-testing-library and I simulate my click like this :
Hi everyone,
I'm actually trying to add unit tests on a component which contains de
Popover
inside and if I simulate a click on theTrigger
, I have the following error :DOMRect is not defined
The test implementation is really basic, I use
jest
andreact-testing-library
and I simulate my click like this :The trigger :
Has someone the same behaviour ?
Thanks by advance !
The text was updated successfully, but these errors were encountered: