Skip to content

Deprecate flushMicrotaskQueue #339

Closed
@mdjastrzebski

Description

@mdjastrzebski

Summary

Writing async tests using flushMicrotasksQueue is quite not intuitive, as there are better alternatives available like waitFor or findBy queries. Similar function while contained in RTL is not exported from it.

Let's deprecate it in 2.x release and the remove it in 3.x. Users still relying on it, will be able to replace it with copy-paste implementation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions