Skip to content

Commit 9519979

Browse files
authored
fix(keyboard): deprecate specialCharMap (#738)
1 parent 0fb2c87 commit 9519979

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/keyboard/specialCharMap.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* @deprecated This list of strings with special meaning is no longer necessary
3+
* as we've introduced a standardized way to describe any keystroke for `userEvent`.
4+
* @see https://testing-library.com/docs/ecosystem-user-event#keyboardtext-options
5+
*/
16
export const specialCharMap = {
27
arrowLeft: '{arrowleft}',
38
arrowRight: '{arrowright}',

0 commit comments

Comments
 (0)