testing-library / user-event

🐕 Simulate user events
https://testing-library.com/user-event
MIT License
2.19k stars 249 forks source link

More convenient syntax for key combinations #1195

Open nightwing opened 9 months ago

nightwing commented 9 months ago

Problem description

Currently to send a key combination like "Ctrl-Shift-Return" one has to use {Control>}{Shift>}{Return}{/Shift}{/Control} which is hard to read

Suggested solution

a shorter form {Control Shift Return} would make it more manageable.

Additional context

No response