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 have a next question, which has come during usage of this cool library.
I have to simulate a user's "Backspace" button pressing and could not find how to do it with this library.
Unfortunately, the native testing-libraryfireEvent is not works for me, because I have an input which filters pressed keys in onKeyDown event handler and it also has onChange event handler which makes additional validation and further component mutations.
I use user-event to check that both events have been fires correclty and check the final value of input.
'Backspace' is also have to pass through this filter to erase typed data, but I couldn't find how to call it.
Could you please advice something?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, guys!
I have a next question, which has come during usage of this cool library.
I have to simulate a user's "Backspace" button pressing and could not find how to do it with this library.
Unfortunately, the native
testing-library
fireEvent
is not works for me, because I have an input which filters pressed keys inonKeyDown
event handler and it also hasonChange
event handler which makes additional validation and further component mutations.I use
user-event
to check that both events have been fires correclty and check the final value of input.'Backspace' is also have to pass through this filter to erase typed data, but I couldn't find how to call it.
Could you please advice something?
Thank you.
The text was updated successfully, but these errors were encountered: