Skip to content

Commit 61adbaa

Browse files
authored
Change wait to waitFor in cheatsheet (#799)
Change because when I was following this docs, I got a deprecation warning that I should use waitFor instead of wait.
1 parent 818d047 commit 61adbaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/vue-testing-library/cheatsheet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ For more information, see
5555

5656
## Async utilities
5757

58-
- **wait** (Promise) retry function within until it stops throwing or times out.
58+
- **waitFor** (Promise) retry function within until it stops throwing or times out.
5959
- **waitForElement** (Promise) retry function or array of functions and return
6060
the result.
6161
- `findBy` and `findAllBy` queries are async and retry until either a timeout or

0 commit comments

Comments
 (0)