You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/Queries.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ type ReactTestInstance = {
55
55
56
56
### Options
57
57
58
-
Query first argument can be a **string** or a **regex**. Some queries accept optional argument which change string matching behaviour. See [TextMatch](#TextMatch) for more info.
58
+
Query first argument can be a **string** or a **regex**. Some queries accept optional argument which change string matching behaviour. See [TextMatch](#textmatch) for more info.
59
59
60
60
### `ByText`
61
61
@@ -262,7 +262,7 @@ Queries that take a `TextMatch` also accept an object as the final argument that
262
262
-`exact`: Defaults to `true`; matches full strings, case-sensitive. When false, matches substrings and is not case-sensitive.
263
263
-`exact` has no effect on regex argument.
264
264
- In most cases using a `regex` instead of a string gives you more control over fuzzy matching and should be preferred over `{ exact: false }`.
265
-
-`normalizer`: An optional function which overrides normalization behavior. See [Normalization](#Normalization).
265
+
-`normalizer`: An optional function which overrides normalization behavior. See [Normalization](#normalization).
266
266
267
267
`exact` option defaults to `true` but if you want to search for a text slice or make text matching case-insensitive you can override it. That being said we advise you to use regex in more complex scenarios.
0 commit comments