Skip to content

Commit 8b41ad8

Browse files
author
Kent C. Dodds
authored
Merge branch 'master' into pr/custom-normalizer
2 parents 25c531d + ce79c72 commit 8b41ad8

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ What happened:
2626

2727
<!-- Please provide the full error message/screenshots/anything -->
2828

29-
Reproduction repository:
29+
Reproduction repository: https://github.com/alexkrolick/dom-testing-library-template
3030

3131
<!--
3232
If possible, please create a repository that reproduces the issue with the

.github/ISSUE_TEMPLATE/Bug_Report.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ var your => (code) => here;
4343
If possible, please create a repository that reproduces the issue with the
4444
minimal amount of code possible.
4545
46+
Repository template: https://github.com/alexkrolick/dom-testing-library-template
47+
4648
Or if you can, try to reproduce the issue in a Codesandbox. You can fork the one
4749
here: https://codesandbox.io/s/5z6x4r7n0p
4850
-->
File renamed without changes.

README.md

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

989+
## Great companion
990+
991+
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.
992+
988993
## Implementations
989994

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

typings/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export {queries, queryHelpers, within}
99
export * from './queries'
1010
export * from './query-helpers'
1111
export * from './wait'
12+
export * from './wait-for-dom-change'
1213
export * from './wait-for-element'
1314
export * from './matches'
1415
export * from './get-node-text'

0 commit comments

Comments
 (0)