React Testing Library · Matcher
toHaveValue
React Testing Library's render mounts a component and returns DOM helpers. Use screen or the returned queries to find elements, including asynchronous content.
Last updated
Syntax
render(Component)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
screenfireEventfindAllByTextDOM Testing Librarycustom renderwrapper