diff --git a/docs/rules/prefer-screen-queries.md b/docs/rules/prefer-screen-queries.md index fd0d5320..0a7134f6 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 { render, screen } from '@testing-library/any-framework'; +import { render, screen, within } from '@testing-library/any-framework'; // calling a query from the `screen` object render();