You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
782 B
30 lines
782 B
"use strict"; |
|
|
|
Object.defineProperty(exports, "__esModule", { |
|
value: true |
|
}); |
|
exports.specialCharMap = void 0; |
|
|
|
/** |
|
* @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 |
|
*/ |
|
const specialCharMap = { |
|
arrowLeft: '{arrowleft}', |
|
arrowRight: '{arrowright}', |
|
arrowDown: '{arrowdown}', |
|
arrowUp: '{arrowup}', |
|
enter: '{enter}', |
|
escape: '{esc}', |
|
delete: '{del}', |
|
backspace: '{backspace}', |
|
home: '{home}', |
|
end: '{end}', |
|
selectAll: '{selectall}', |
|
space: '{space}', |
|
whitespace: ' ', |
|
pageUp: '{pageUp}', |
|
pageDown: '{pageDown}' |
|
}; |
|
exports.specialCharMap = specialCharMap; |