Skip to content

fix(prefer-presence-queries): ignore getBy* inside within for on absence queries - #740

Merged
Belco90 merged 4 commits into
testing-library:mainfrom
nathanmmiller:pr/handle-within-false-positive-in-prefer-presence-queries
Aug 5, 2023
Merged

Belco90 merged 4 commits into
testing-library:mainfrom
nathanmmiller:pr/handle-within-false-positive-in-prefer-presence-queries

Conversation

@nathanmmiller

Copy link
Copy Markdown
Contributor

…ence queries

Checks

Changes

Context

Fixes #518 [Well, partially fixes it.]

@nathanmmiller

Copy link
Copy Markdown
Contributor Author

Hey @Belco90 - thoughts on this PR? Would love to get it in to clean up this issue.

@Belco90

Belco90 commented Apr 8, 2023

Copy link
Copy Markdown
Member

@nathanmmiller Sorry, I'm not available yet. I hope I can check this by the end of the month.

@Belco90

Belco90 commented Apr 26, 2023

Copy link
Copy Markdown
Member

@nathanmmiller thanks for your patience! I'm slowly catching up, so I hope I can review it soon.

@Belco90 Belco90 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thanks for your contribution 💪

@Belco90 Belco90 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh sorry, one change: can you add some examples with the within usage to the docs?

@Belco90

Belco90 commented Aug 1, 2023

Copy link
Copy Markdown
Member

Hey @nathanmmiller! It's been a while since you created this PR. Are you still willing to contribute?

@nathanmmiller

nathanmmiller commented Aug 1, 2023 via email

Copy link
Copy Markdown
Contributor Author

@Belco90

Belco90 commented Aug 1, 2023

Copy link
Copy Markdown
Member

@nathanmmiller yes, only doc changes and it's ready to go.

@nathanmmiller

Copy link
Copy Markdown
Contributor Author

@nathanmmiller yes, only doc changes and it's ready to go.

Docs added!

@Belco90 Belco90 changed the title fix: ignore getBy inside of within for prefer-presence-queries on abs… fix(prefer-presence-queries): ignore getBy* inside within for on absence queries Aug 5, 2023

@Belco90 Belco90 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All good now! Thanks for your contribution 👌

@Belco90
Belco90 merged commit b75dc73 into testing-library:main Aug 5, 2023
@Belco90

Belco90 commented Aug 5, 2023

Copy link
Copy Markdown
Member

@all-contributors please add @nathanmmiller for code and test

@allcontributors

Copy link
Copy Markdown
Contributor

@Belco90

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

@github-actions

github-actions Bot commented Aug 5, 2023

Copy link
Copy Markdown

🎉 This PR is included in version 5.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

github-actions Bot commented Aug 5, 2023

Copy link
Copy Markdown

🎉 This PR is included in version 6.0.0-alpha.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positives with testing-library/prefer-presence-queries

2 participants