From 4356cc55f49dc01441aa6f307934fadca443b157 Mon Sep 17 00:00:00 2001 From: Nick McCurdy Date: Wed, 10 Jun 2020 15:14:10 -0400 Subject: [PATCH] docs: add @testing-library/dom to installation (#337) This is required as a peer dependency, which wasn't obvious from the readme. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97850125..137e0135 100644 --- a/README.md +++ b/README.md @@ -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: