testing-library / user-event

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

More convenient syntax for key combinations #1195

Open nightwing opened 4 months ago

nightwing commented 4 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