-
Notifications
You must be signed in to change notification settings - Fork 255
Open
Labels
enhancementNew feature or requestNew feature or request
Description
@ph-fritsche Maybe add an option to skip detection of key descriptors? Something like:
userEvent.type(input, '{"foo":"bar"}', { skipSpecialCharacters: true })Originally posted by @lynxtaa in #584 (comment)
An alternative might be to export this workaround as a utility:
userEvent.type(input, '{"foo":"bar"}'.replace(/[{[]/g, '$&$&'))
// would become
userEvent.type(input, escapeKeyboardInput('{"foo":"bar"}'))wrobbinz, shuzootani, ktmud, JeffersonCarvalh0, artaommahe and 1 moreshuzootani and aymyo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request