npm @testing-library/user-event 14.0.0-alpha.12
v14.0.0-alpha.12

latest releases: 14.5.2, 14.5.1, 14.5.0...
2 years ago

14.0.0-alpha.12 (2021-11-16)

⚠ BREAKING CHANGES

  • {ctrl}, {del}, {esc} no longer describe a key. Use {Control}, {Delete}, {Escape} instead.
  • {alt}, {ctrl}, {meta}, {shift} no longer imply not releasing the key. Use {Alt>}, {Control>}, {Meta>}, {Shift>} instead.
  • init parameter has been removed from these APIs:
    • userEvent.click
    • userEvent.dblClick
    • userEvent.tripleClick
    • userEvent.hover
    • userEvent.unhover
    • userEvent.selectOptions
    • userEvent.deselectOptions
  • userEvent.upload no longer supports clickInit
    as part of its init parameter.

Features

  • remove support for user provided MouseEventInit (#784) (d598fb6)

Bug Fixes

  • remove legacy modifier implementations (#783) (051fe20)

Don't miss a new user-event release

NewReleases is sending notifications on new releases.