From 771516bd5f2ef84bf31caf8576fc2595fb7a83d9 Mon Sep 17 00:00:00 2001 From: Weyert de Boer Date: Mon, 10 Dec 2018 03:07:06 +0100 Subject: [PATCH 1/2] Updated README.md to callout `user-event` Added a new paragraph which calls out the helper library `user-event` --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fd22e28a..fe917aad 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ when a real user uses it. - [Debugging](#debugging) - [`prettyDOM`](#prettydom) - [Configuration](#configuration) +- [Great companion](#great-companion) - [Implementations](#implementations) - [Using Without Jest](#using-without-jest) - [FAQ](#faq) @@ -955,6 +956,10 @@ Configuration options: `testIdAttribute`: The attribute used by `getByTestId` and related queries. Defaults to `data-testid`. See [`getByTestId`](#getbytestid). +## Great companion + +A helper library named [`user-event`](https://github.com/Gpx/user-event) has been written in companion with `dom-testing-library` which easiest common interactions, such as typing, clicking etc. The `type`-interaction will allow to easily dispatch the appropriate keyboard events for a text, or dispatch these events for each character of the to be typed text. + ## Implementations This library was not built to be used on its own. The original implementation From de18fea93d661046a094e676965fc32c51d8882e Mon Sep 17 00:00:00 2001 From: Weyert de Boer Date: Mon, 10 Dec 2018 03:10:37 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fe917aad..7cc0a1d8 100644 --- a/README.md +++ b/README.md @@ -958,7 +958,7 @@ Defaults to `data-testid`. See [`getByTestId`](#getbytestid). ## Great companion -A helper library named [`user-event`](https://github.com/Gpx/user-event) has been written in companion with `dom-testing-library` which easiest common interactions, such as typing, clicking etc. The `type`-interaction will allow to easily dispatch the appropriate keyboard events for a text, or dispatch these events for each character of the to be typed text. +A helper library named [`user-event`](https://github.com/Gpx/user-event) has been written in companion with `dom-testing-library` which eases common interactions, such as typing, clicking etc. The `type`-interaction will allow to easily dispatch the appropriate keyboard events for inserting text, or dispatch these events for each character of the to be typed text. ## Implementations