Skip to content

feat(prefer-screen-queries): detect render in wrappers correctly #388

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 6 commits into from
May 22, 2021

Conversation

Belco90
Copy link
Member

@Belco90 Belco90 commented May 18, 2021

Closes #367

@Belco90 Belco90 added the enhancement New feature or request label May 18, 2021
@Belco90 Belco90 requested review from gndelia and MichaelDeBoey May 18, 2021 22:53
@Belco90 Belco90 self-assigned this May 18, 2021
@@ -413,5 +413,80 @@ ruleTester.run(RULE_NAME, rule, {
],
} as const)
),
{
code: ` // issue #367 - example A
Copy link
Member Author

Choose a reason for hiding this comment

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

Two scenarios provided by @julienw added as test cases.

@Belco90 Belco90 changed the title feat(prefer-screen-queries): detect render wrappers correctly feat(prefer-screen-queries): detect render in wrappers correctly May 19, 2021
@Belco90 Belco90 requested a review from MichaelDeBoey May 22, 2021 11:33
@Belco90 Belco90 force-pushed the rework-prefer-screen-queries branch from edc76bc to 2478839 Compare May 22, 2021 20:41
@Belco90 Belco90 merged commit b92132d into main May 22, 2021
@Belco90 Belco90 deleted the rework-prefer-screen-queries branch May 22, 2021 21:01
@github-actions
Copy link

🎉 This PR is included in version 4.6.0 🎉

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
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False negative for testing-library/prefer-screen-queries
2 participants