github testing-library/react-hooks-testing-library v2.0.0

latest releases: v8.0.1, v8.0.0, v8.0.0-alpha.1...
4 years ago

Changes

  • waitForNextUpdate now automatically wraps the promise in an async act call, preventing the warning from #14

Breaking Changes

  • Async act calls have increased the minimum react-test-renderer version to `16.9.0
  • Opened the version range for @types/react and @types/react-test-renderer to be a bit more lenient in an attempt to resolve #110 (let me know if this is still an issue).

Don't miss a new react-hooks-testing-library release

NewReleases is sending notifications on new releases.