Skip to content

testing-library/prefer-screen-queries with self-written helpers #340

@pustovalov

Description

@pustovalov

Hey

expect(await findByComplexText(screen, 'Selected campaigns 0')).toBeInTheDocument()

[email protected] - no errors

[email protected] - Avoid destructuring queries from render result, use screen.findByComplexText instead testing-library/prefer-screen-queries

should this rule only apply to testing-library methods?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleased

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions