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 discovered this while migrating from Jest to Vitest, and at the same time moving from jsdom to happy-dom. I noticed that computing the accessible name of elements started coming up empty in Testing Library, which uses dom-accessibility-api for that functionality, which relies on ELEMENT_NODE. (It was quite a debugging trip! 😄)
I see ELEMENT_NODE in your codebase, though 🤔 so hopefully you'll be able to shed some light on this, thanks! 🤞
The text was updated successfully, but these errors were encountered:
Hi! I noticed that instances of
Node
, or at leastHTMLElement
, don't have theELEMENT_NODE
property.I discovered this while migrating from Jest to Vitest, and at the same time moving from
jsdom
tohappy-dom
. I noticed that computing the accessible name of elements started coming up empty in Testing Library, which usesdom-accessibility-api
for that functionality, which relies onELEMENT_NODE
. (It was quite a debugging trip! 😄)I see
ELEMENT_NODE
in your codebase, though 🤔 so hopefully you'll be able to shed some light on this, thanks! 🤞The text was updated successfully, but these errors were encountered: