Skip to content

Commit c2f10a1

Browse files
authored
docs(userEvent): Update api-keyboard.mdx (#1308)
1 parent 67bf6ad commit c2f10a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user-event/api-keyboard.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Keystrokes can be described:
1616
```js
1717
keyboard('foo') // translates to: f, o, o
1818
```
19-
The brackets `{` and `[` are used as special characters and can be referenced
19+
The opening brackets `{` and `[` are used as special characters and can be referenced
2020
by doubling them.
2121
```js
2222
keyboard('{{a[[') // translates to: {, a, [
@@ -35,7 +35,7 @@ Keystrokes can be described:
3535
prefixing them with a backslash `\`.
3636

3737
```js
38-
keyboard('{\}}') // translates to: }
38+
keyboard('{\\}}') // translates to: }
3939
```
4040

4141
- Per

0 commit comments

Comments
 (0)