Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update api-events.mdx #936

Merged
merged 1 commit into from Sep 27, 2021
Merged

Conversation

jgsneves
Copy link
Contributor

Since we need charCode: 13 to call fireEvent.keyDown() using 'Enter' key and a lot of users need to test when 'Enter' key got pressed, I'm proposing this change on this library docs to help more people on this.

reference: testing-library/dom-testing-library#405

Since we need ```charCode: 13``` to call ```fireEvent.keyDown()``` using 'Enter' key and a lot of users need to test when 'Enter' key got pressed, I'm proposing this change on this library docs to help more people on this.

reference: testing-library/dom-testing-library#405
Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've seen some issues raised (e.g. testing-library/react-testing-library#269) about this confusing, LGTM 👍

@MatanBobi
Copy link
Member

@timdeschryver any reason not to merge this? It looks good to me also :)

@timdeschryver
Copy link
Member

@MatanBobi then let's get this merged! 🚀

@timdeschryver timdeschryver merged commit 3c8426a into testing-library:main Sep 27, 2021
@timdeschryver
Copy link
Member

@all-contributors please add @jgsneves for docs

@allcontributors
Copy link
Contributor

@timdeschryver

I've put up a pull request to add @jgsneves! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants