Skip to content

userEvent.type breaks when typing JSON #584

@lynxtaa

Description

@lynxtaa
  • @testing-library/user-event version: 13.0.0

Relevant code or config

userEvent.type(input, '{"foo":"bar"}')

What you did: See above

What happened:

Error: Expected key descriptor but found """ in "{"foo":"bar"}"

Problem description:

Possible regression? It worked in [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions