How can I use FireEvent's touchStart option in userEvent

Viewed 28

I'm studying test using jest, and React testing-library. I have a question about userEvent.

There is a touchStart option in fireEvent.

How can I use touchStart option in userEvent.

fireEvent.touchStart(screen.getByRole('button')); Please let me know

0 Answers
Related