Skip to content

feat: rename bindElementToQueries to getQueriesForElement #39

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
May 15, 2018

Conversation

kentcdodds
Copy link
Member

What: rename bindElementToQueries to getQueriesForElement

Why: Because the original name is confusing

How: Alias the old name to the new one (so there's no breaking change)

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table N/A

@codecov
Copy link

codecov bot commented May 15, 2018

Codecov Report

Merging #39 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #39   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           8      8           
  Lines         145    145           
  Branches       35     35           
=====================================
  Hits          145    145
Impacted Files Coverage Δ
src/get-queries-for-element.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56b768d...79d8cb9. Read the comment docs.

@kentcdodds kentcdodds merged commit 7d7dd7a into master May 15, 2018
@kentcdodds kentcdodds deleted the pr/rename-bind-element-to-queries branch May 15, 2018 17:51
@kentcdodds
Copy link
Member Author

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

alexkrolick pushed a commit to alexkrolick/dom-testing-library that referenced this pull request Sep 13, 2018
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