我正在使用 jest 和 React 测试库学习测试。 我有一个关于 userEvent 的问题。
fireEvent中有一个
touchStart
如何在 userEvent 中使用
fireEvent.touchStart(screen.getByRole('button'));