Merge pull request #2544 from mjul/patch-1

Update 10.4-test-utils.md
This commit is contained in:
Paul O’Shannessy 2014-11-19 07:16:07 -08:00
commit 3a0f30480d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ Example usage:
```javascript
var node = this.refs.input.getDOMNode();
React.addons.TestUtils.Simulate.click(node);
React.addons.TestUtils.Simulate.change(node);
React.addons.TestUtils.Simulate.change(node, {target: {value: 'Hello, world'}});
React.addons.TestUtils.Simulate.keyDown(node, {key: "Enter"});
```