Skip to content

removing use of spy to click an event in README.md #184

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

Merged
merged 1 commit into from
Sep 19, 2018
Merged

removing use of spy to click an event in README.md #184

merged 1 commit into from
Sep 19, 2018

Conversation

srprkr
Copy link
Contributor

@srprkr srprkr commented Sep 19, 2018

What: I replaced the spy and MouseEvent bubbling in the README.md

Why: Handling clicks in this manner didn't work in my project, while fireEvent.click(...) did. Also a global search of this repo show the only instance of this handling occurring in the README.md

How:

Checklist:

  • [ x] Documentation
  • [ x] Tests
  • [ x] Ready to be merged
  • Added myself to contributors table

If I'm wrong here, please tell me how. I'm new to open source and would like to learn. If I'm right, this one is such a gimme I feel I should earn a spot as a contributor with a separate task.

This library is awesome, keep up the great work!

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

This is great 👍 Thank you.

You definitely deserve a spot on the contributor's table for this contribution, feel free to open another PR for that 👍

@kentcdodds kentcdodds merged commit 46deef0 into testing-library:master Sep 19, 2018
@srprkr srprkr deleted the pr/fireEvent-click branch September 19, 2018 14:50
@kentcdodds
Copy link
Member

🎉 This PR is included in version 5.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

lucbpz pushed a commit to lucbpz/react-testing-library that referenced this pull request Jul 26, 2020
Merge pull request testing-library#184 from GentlemanHal/patch-1
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.

2 participants