Skip to content

Commit

Permalink
docs: add @testing-library/dom to installation (#337)
Browse files Browse the repository at this point in the history
This is required as a peer dependency, which wasn't obvious from the readme.
  • Loading branch information
nickmccurdy committed Jun 10, 2020
1 parent 8156991 commit 4356cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -75,13 +75,13 @@ change the state of the checkbox.
With NPM:

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

With Yarn:

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

Now simply import it in your tests:
Expand Down

0 comments on commit 4356cc5

Please sign in to comment.