Skip to content

Commit e849af7

Browse files
weyertKent C. Dodds
authored and
Kent C. Dodds
committed
docs: updated README.md to callout user-event (#176)
* Updated README.md to callout `user-event` Added a new paragraph which calls out the helper library `user-event` * Update README.md
1 parent 4917a2f commit e849af7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ when a real user uses it.
105105
- [Debugging](#debugging)
106106
- [`prettyDOM`](#prettydom)
107107
- [Configuration](#configuration)
108+
- [Great companion](#great-companion)
108109
- [Implementations](#implementations)
109110
- [Using Without Jest](#using-without-jest)
110111
- [FAQ](#faq)
@@ -955,6 +956,10 @@ Configuration options:
955956
`testIdAttribute`: The attribute used by `getByTestId` and related queries.
956957
Defaults to `data-testid`. See [`getByTestId`](#getbytestid).
957958

959+
## Great companion
960+
961+
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.
962+
958963
## Implementations
959964

960965
This library was not built to be used on its own. The original implementation

0 commit comments

Comments
 (0)