specialCharMap.d.ts 808 B

12345678910111213141516171819202122
  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. */
  6. export declare const specialCharMap: {
  7. readonly arrowLeft: "{arrowleft}";
  8. readonly arrowRight: "{arrowright}";
  9. readonly arrowDown: "{arrowdown}";
  10. readonly arrowUp: "{arrowup}";
  11. readonly enter: "{enter}";
  12. readonly escape: "{esc}";
  13. readonly delete: "{del}";
  14. readonly backspace: "{backspace}";
  15. readonly home: "{home}";
  16. readonly end: "{end}";
  17. readonly selectAll: "{selectall}";
  18. readonly space: "{space}";
  19. readonly whitespace: " ";
  20. readonly pageUp: "{pageUp}";
  21. readonly pageDown: "{pageDown}";
  22. };