Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/user-event/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ This allows to write multiple consecutive interactions that behave just like the
described interactions by a real user.

```js
import userEvent from "@testing-library/user-event";

const user = userEvent.setup()

await user.keyboard('[ShiftLeft>]') // Press Shift (without releasing it)
Expand Down