Skip to content

v2.1.0

Compare
Choose a tag to compare
@romgain romgain released this 15 Jul 18:12
· 43 commits to master since this release

Feature

  • Automatically wrap relevant methods in act

If @testing-library/react is already installed,
we use their implementation of act - it's complete
and provides useful warnings.
If it's not installed, then we simply assume that the user
is not testing a React application, and use a noop instead.