We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-screen
The text was updated successfully, but these errors were encountered:
Happy to accept contributions :)
Sorry, something went wrong.
As a side note, you can easily simulate screen benefits by writing: const screen = render(...); instead of const { getByTestId, ... } = render(...);.
screen
const screen = render(...);
const { getByTestId, ... } = render(...);
Implemented in #994. Released in v10.1
No branches or pull requests
Describe the Feature
See https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-screen
The text was updated successfully, but these errors were encountered: