Skip to content

Latest commit

History

History
31 lines (21 loc) 路 1.28 KB

README.md

File metadata and controls

31 lines (21 loc) 路 1.28 KB

user-event

dog

Simulate user events for react-testing-library


Build Status Maintainability Test Coverage

The problem

From kentcdodds/dom-testing-library#107:

[...] it is becoming apparent the need to express user actions on a web page using a higher-level abstraction than fireEvent

The solution

user-event tries to simulate the real events that would happen in the browser as the user interacts with it. For example userEvent.click(checkbox) would change the state of the checkbox.

The library is still a work in progress and any help is appreciated.