Skip to content

Commit 43f56f1

Browse files
author
Jody McIntyre
committed
Add a link to the list of supported events
1 parent ed40119 commit 43f56f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/10.4-test-utils.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Simulate.{eventName}(
2121
)
2222
```
2323

24-
Simulate an event dispatch on a DOM node with optional `eventData` event data. **This is possibly the single most useful utility in `ReactTestUtils`.**
24+
Simulate an event dispatch on a DOM node with optional `eventData` event data. **This is possibly the single most useful utility in `ReactTestUtils`.**R
2525

2626
**Clicking an element**
2727

@@ -43,7 +43,7 @@ ReactTestUtils.Simulate.keyDown(node, {key: "Enter", keyCode: 13, which: 13});
4343

4444
*Note that you will have to provide any event property that you're using in your component (e.g. keyCode, which, etc...) as React is not creating any of these for you.*
4545

46-
`Simulate` has a method for every event that React understands.
46+
`Simulate` has a method for [every event that React understands](/react/docs/events.html#supported-events).
4747

4848
### renderIntoDocument
4949

0 commit comments

Comments
 (0)