Skip to content

Commit

Permalink
fix(keyboard): deprecate specialCharMap (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche authored Oct 15, 2021
1 parent 0fb2c87 commit 9519979
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/keyboard/specialCharMap.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @deprecated This list of strings with special meaning is no longer necessary
* as we've introduced a standardized way to describe any keystroke for `userEvent`.
* @see https://testing-library.com/docs/ecosystem-user-event#keyboardtext-options
*/
export const specialCharMap = {
arrowLeft: '{arrowleft}',
arrowRight: '{arrowright}',
Expand Down

0 comments on commit 9519979

Please sign in to comment.