Skip to content

Commit 843f0e0

Browse files
authored
Fix typo in findBy description in testing.mdx (#1377)
1 parent 76d848d commit 843f0e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/guides/testing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ The prefixes (`get`, `query`, and `find`) and the middle portion (`By` and `AllB
194194
- **getAllBy**: synchronous, throws if not found, returns array of matches
195195
- **queryBy**: synchronous, null if not found, error if more than 1 matches
196196
- **queryAllBy**: synchronous, returns array of zero or more matches
197-
- **findBy**: asynchronous, rejected if not found within 1000ms or more than 1 matches, resolves wth element if found
197+
- **findBy**: asynchronous, rejected if not found within 1000ms or more than 1 matches, resolves with element if found
198198
- **findAllBy**: asynchronous, rejected if not found within 1000ms, resolves with array of one or more element(s)
199199

200200
By default, queries should start with `get...`.

0 commit comments

Comments
 (0)