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
#43147 had an issue testing keyboard shortcuts because @testing-library/user-event removed support for keyCode in version 14, but isKeyboardEvent still tests for it.
What is your proposed solution?
If that util can be adjusted to test for key instead of keyCode, then workarounds like fireEvent.keyDown() are no longer needed.
The text was updated successfully, but these errors were encountered:
What problem does this address?
#43147 had an issue testing keyboard shortcuts because
@testing-library/user-event
removed support forkeyCode
in version 14, butisKeyboardEvent
still tests for it.What is your proposed solution?
If that util can be adjusted to test for
key
instead ofkeyCode
, then workarounds likefireEvent.keyDown()
are no longer needed.The text was updated successfully, but these errors were encountered: