mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #1381 from marcinkwiatkowski/master
fix typo in 09.4-test-utils.md
This commit is contained in:
@@ -22,7 +22,7 @@ Example usage:
|
||||
```javascript
|
||||
React.addons.TestUtils.Simulate.click(myComponent);
|
||||
React.addons.TestUtils.Simulate.change(myComponent);
|
||||
React.addons.TestUtils.Simulate.keydown(myComponent, {key: "Enter"});
|
||||
React.addons.TestUtils.Simulate.keyDown(myComponent, {key: "Enter"});
|
||||
```
|
||||
|
||||
`Simulate` has a method for every event that React understands.
|
||||
|
||||
Reference in New Issue
Block a user