Skip to content

Commit c90f5cf

Browse files
authored
Update byrole.mdx (#1041)
1 parent 59c4653 commit c90f5cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/queries/byrole.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,5 +346,5 @@ For example in
346346
You can query a specific element like this
347347

348348
```js
349-
getByrole('alertdialog', {description: 'Your session is about to expire'})
349+
getByRole('alertdialog', {description: 'Your session is about to expire'})
350350
```

0 commit comments

Comments
 (0)