Skip to content

fix: filtered out queries ending with 'ByType' #672

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conversation

Mrblackey
Copy link

@Mrblackey Mrblackey commented Oct 9, 2022

from await-async-query rule.

Checks

  • I have read the contributing guidelines.
  • If some rule is added/updated/removed, I've regenerated the rules list (npm run generate:rules-list)
  • If some rule meta info is changed, I've regenerated the plugin shared configs (npm run generate:configs)

Changes

Added a test case, based on personal usage.
Added a check for early return in the identifier name of the call ends with 'ByType' in await-async-query.ts file.

Context

Fixes #671

@Belco90 Belco90 closed this Oct 9, 2022
@Belco90
Copy link
Member

Belco90 commented Oct 9, 2022

Closing because this is related to the Aggressive Reporting feature and the desired behaviour can be achieved through settings.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Un-report react-test-renderer's findByType & findAllByType queries as async.
2 participants