Skip to content

Commit b2e6dc7

Browse files
docs: format the deprecation section in DOM cheatsheet (testing-library#846)
Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>
1 parent d50120d commit b2e6dc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/dom-testing-library/cheatsheet.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ See [Async API](dom-testing-library/api-async.mdx). Remember to `await` or
9090
> - **wait** (Promise) retry the function within until it stops throwing or
9191
> times
9292
> - **waitForElement** (Promise) retry the function until it returns an element
93-
> or an array of elements
94-
> - `findBy` and `findAllBy` queries are async and retry until either a timeout
95-
> or if the query returns successfully; they wrap `waitForElement`
93+
> or an array of elements. The `findBy` and `findAllBy` queries are async and
94+
> retry until the query returns successfully, or when the query times out; they wrap
95+
> `waitForElement`
9696
> - **waitForDomChange** (Promise) retry the function each time the DOM is
9797
> changed
9898

0 commit comments

Comments
 (0)