diff --git a/docs/rules/prefer-screen-queries.md b/docs/rules/prefer-screen-queries.md index 4e562f5d..4d4c1753 100644 --- a/docs/rules/prefer-screen-queries.md +++ b/docs/rules/prefer-screen-queries.md @@ -38,7 +38,7 @@ getByText('foo'); Examples of **correct** code for this rule: ```js -import { screen } from '@testing-library/any-framework'; +import { render, screen } from '@testing-library/any-framework'; // calling a query from the `screen` object render();