Replies: 1 comment
-
@jvliwanag We certainly could export this function. I'll try to squize PR for it in the next couple of days. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Exporting
getTextContent
is particularly useful for this kind of assertion:Workaround is to loop through everything running expect on every ReactTestInstance encountered, but test errors are harder to decipher.
The dom version of the testing-library already has a precedent here.
Beta Was this translation helpful? Give feedback.
All reactions