github callstack/react-native-testing-library v2.0.0

latest releases: v12.5.0, v12.4.5, v12.4.4...
3 years ago

Welcome to the RNTL v2 🥳

Make sure to check the Migration guide in our docs.

Features

  • [breaking]: call cleanup automatically (#238)
  • [breaking]: unify waitFor signature with Testing Library (#327)
  • wrap waitFor in (async) act to support async queries without explicit act call (#344)

Fixes

  • [breaking]: getByTestId should work only for native elements (#324)

Chore

  • [breaking]: remove deprecated and non-prefixed unsafe functions (#334)
  • [breaking]: remove legacy debug export (#328)
  • [breaking]: deprecate flushMicrotasksQueue (#340)
  • [breaking]: compile project to Node 10 using @babel/preset-env (#309)

Docs

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

NewReleases is sending notifications on new releases.