Skip to content

Commit 48d01ba

Browse files
committed
ByRole: Remove MatchOptions
1 parent 55b0bda commit 48d01ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/queries/byrole.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ import TabItem from '@theme/TabItem'
1515
getByRole(
1616
// If you're using `screen`, then skip the container argument:
1717
container: HTMLElement,
18-
role: TextMatch,
18+
role: string,
1919
options?: {
20-
exact?: boolean = true,
2120
hidden?: boolean = false,
2221
name?: TextMatch,
2322
description?: TextMatch,
24-
normalizer?: NormalizerFn,
2523
selected?: boolean,
2624
checked?: boolean,
2725
pressed?: boolean,

0 commit comments

Comments
 (0)