-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When to use screen object or component returned by renderPage #134
Comments
Quoting Kent C. Dodds in Common mistakes with React Testing Library
|
A good observation @christianacca ! |
Thanks guys |
Prior to version 10 of this library, all the examples used the
component
returned byrender
method. Now the examples use thescreen
object.Both
screen
andcomponent
share the same method names. Questions:screen
where possible rather thancomponent
The text was updated successfully, but these errors were encountered: