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 explicitact
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)