You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For convenience it also returns react-test-renderer's instance and renderer objects, in case you need more control.
But it doesn't. But it should! 🙂 Looks like they were removed in e6ac5ad, but I think they would be valuable (at least renderer). Was there a reason they were removed?
PR incoming to add them back.
The text was updated successfully, but these errors were encountered:
The getBy APIs weren't finding something that I knew was there, so I needed to debug to see what react-native-testing-library was seeing. I was able to figure it out* using renderer.toJSON() (after modifying my local node_modules render.js to include renderer).
(* react-native's jest setup script was mocking out ScrollView, but that's neither here nor there)
The
render
section of the README says:But it doesn't. But it should! 🙂 Looks like they were removed in e6ac5ad, but I think they would be valuable (at least
renderer
). Was there a reason they were removed?PR incoming to add them back.
The text was updated successfully, but these errors were encountered: