diff --git a/docs/dom-testing-library/api-queries.md b/docs/dom-testing-library/api-queries.md index e5b6f9943..dc8788079 100644 --- a/docs/dom-testing-library/api-queries.md +++ b/docs/dom-testing-library/api-queries.md @@ -38,8 +38,8 @@ more than one element is found after a default timeout of `1000`ms. If you need to find more than one element, then use `findAllBy`. > Note, this is a simple combination of `getBy*` queries and -> [`waitFor`](/docs/api-async#waitfor). The `findBy*` queries -> accept the `waitFor` options as the last argument. (i.e. +> [`waitFor`](/docs/api-async#waitfor). The `findBy*` queries accept the +> `waitFor` options as the last argument. (i.e. > `screen.findByText('text', queryOptions, waitForOptions)`) ### findAllBy @@ -88,7 +88,7 @@ This method is essentially a shortcut for `console.log(prettyDOM())`. It supports debugging the document, a single element, or an array of elements. ```javascript -import {screen} from '@testing-library/dom' +import { screen } from '@testing-library/dom' document.body.innerHTML = ` @@ -217,7 +217,7 @@ If it is important that you query an actual `