Skip to content

event.which is deprecated which causes issues when using @testling-library/user-event v14 #977

Open
@kapiljaveri

Description

@kapiljaveri

https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which

Issue found here - testing-library/user-event#1137

It's recommended to switch over to event.code or event.key instead - testing-library/user-event#842 (comment)

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