Skip to content

Commit 5cf7c08

Browse files
weyertalexkrolick
authored andcommitted
docs: updated the input events doc (testing-library#13)
* docs: updated the input events doc Called out the user-event library in the input events documentation section * fix: added link to user-event page * tweak text
1 parent 7b942cb commit 5cf7c08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/example-input-event.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ title: Input Event
44
sidebar_label: Input Event
55
---
66

7+
> **Note**
8+
>
9+
> If you want to simulate a more natural typing behaviour while testing your component, consider the companion library [`user-event`](ecosystem-user-event.md)
10+
711
```jsx
812
import React from 'react'
913
import { render, fireEvent, cleanup } from 'react-testing-library'

0 commit comments

Comments
 (0)