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
When I test a component with vitest and @testing-library/user-event and try to get an element with getByLabelText, I get the following error: TypeError: element.ownerDocument.getSelection is not a function
Would be great to have this fixed as well :)
The text was updated successfully, but these errors were encountered:
Mas0nShi
added a commit
to Mas0nShi/happy-dom
that referenced
this issue
Feb 22, 2022
When I test a component with vitest and @testing-library/user-event and try to get an element with
getByLabelText
, I get the following error:TypeError: element.ownerDocument.getSelection is not a function
Would be great to have this fixed as well :)
The text was updated successfully, but these errors were encountered: