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.