Skip to content

fix(suggestions): don't suggest byLabelText when using byLabelText#835

Merged
benmonro merged 1 commit into
masterfrom
feature/fix-find-by-label-text-suggestion
Nov 20, 2020
Merged

fix(suggestions): don't suggest byLabelText when using byLabelText#835
benmonro merged 1 commit into
masterfrom
feature/fix-find-by-label-text-suggestion

Conversation

@benmonro

@benmonro benmonro commented Nov 20, 2020

Copy link
Copy Markdown
Member

What: a bug fix on suggestions for findByLabelText

Why: when using findByLabelText, you would get a suggestion even if you're already using findByLabelText.

How: use the right function when passing the name of the method.

Checklist:

  • Documentation added to the N/A
    docs site
  • Tests
  • Typescript definitions updated N/A
  • Ready to be merged

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 53f29f7:

Sandbox Source
react-testing-library-examples Configuration

@codecov

codecov Bot commented Nov 20, 2020

Copy link
Copy Markdown

Codecov Report

Merging #835 (53f29f7) into master (010f8be) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #835   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines          934       934           
  Branches       286       286           
=========================================
  Hits           934       934           
Impacted Files Coverage Δ
src/queries/label-text.js 100.00% <ø> (ø)

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 010f8be...53f29f7. Read the comment docs.

@benmonro

Copy link
Copy Markdown
Member Author

@testing-library/dom 👋

@benmonro
benmonro merged commit c6e7a83 into master Nov 20, 2020
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 7.28.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nickserv
nickserv deleted the feature/fix-find-by-label-text-suggestion branch November 20, 2020 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants