Skip to content

no-unnecessary-act: option for strict reporting #382

@Belco90

Description

@Belco90

Since the current implementation of no-unnecessary-act doesn't report act usages with react-testing-library calls inside if mixed with non-react-testing-library, it would be interesting to add a new isStrict option (false by default) which makes the rule to always report react-testing-library calls inside act no matter if mixed with non-react-testing-library.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions