Skip to content

Commit

Permalink
docs: update api-events.mdx (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgsneves committed Sep 27, 2021
1 parent 6dbf177 commit 3c8426a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dom-testing-library/api-events.mdx
Expand Up @@ -91,7 +91,7 @@ fireEvent.drop(getByLabelText(/drop files here/i), {
element in the DOM and the key you want to fire.

```javascript
fireEvent.keyDown(domNode, {key: 'Enter', code: 'Enter'})
fireEvent.keyDown(domNode, {key: 'Enter', code: 'Enter', charCode: 13})

fireEvent.keyDown(domNode, {key: 'A', code: 'KeyA'})
```
Expand Down

0 comments on commit 3c8426a

Please sign in to comment.