Skip to content

v2.0.0

Compare
Choose a tag to compare
@thymikee thymikee released this 28 May 13:10

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