Skip to content

Commit a010ffd

Browse files
authored
docs: fix textmatch broken link (#903)
* docs: fix textmatch broken link * docs: fix normalization link
1 parent 6667cc2 commit a010ffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/Queries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type ReactTestInstance = {
5555

5656
### Options
5757

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.
5959

6060
### `ByText`
6161

@@ -262,7 +262,7 @@ Queries that take a `TextMatch` also accept an object as the final argument that
262262
- `exact`: Defaults to `true`; matches full strings, case-sensitive. When false, matches substrings and is not case-sensitive.
263263
- `exact` has no effect on regex argument.
264264
- 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).
266266

267267
`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.
268268

0 commit comments

Comments
 (0)