v2.0.0
Welcome to the RNTL v2 🥳
Make sure to check the Migration guide in our docs.
Features
- [breaking]: call
cleanupautomatically (#238) - [breaking]: unify
waitForsignature with Testing Library (#327) - wrap
waitForin (async) act to support async queries without explicitactcall (#344)
Fixes
- [breaking]:
getByTestIdshould work only for native elements (#324)
Chore
- [breaking]: remove deprecated and non-prefixed unsafe functions (#334)
- [breaking]: remove legacy
debugexport (#328) - [breaking]: deprecate
flushMicrotasksQueue(#340) - [breaking]: compile project to Node 10 using
@babel/preset-env(#309)