Skip to content

Revert "Add peer dependency to User Event docs" #1329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Merge branch 'main' into dont-install-dom
  • Loading branch information
nickserv committed Nov 10, 2023
commit dc939364a68eda58e6c5c166ca46afa9faca6c67
15 changes: 1 addition & 14 deletions docs/ecosystem-user-event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,10 @@ fixes and new features.

## Installation

<Tabs defaultValue="npm" values={[{ label: 'npm', value: 'npm' }, { label: 'Yarn', value: 'yarn' }]}>
<TabItem value="npm">

```sh
```bash npm2yarn
npm install --save-dev @testing-library/user-event
```

</TabItem>
<TabItem value="yarn">

```sh
yarn add --dev @testing-library/user-event
```

</TabItem>
</Tabs>

Now simply import it in your tests:

```js
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.