Open
Description
Jest 30 has recently been released and includes a new version of jsdom with stricter implementation of DOM specifications. As a result, code that uses the DragEvent polyfill, such as calls to Testing Library's fireEvent.dragStart
, has started failing with the following error:
TypeError: Cannot set property pageX of [object MouseEvent] which has only a getter
It looks like a fix for this was already implemented in 999eb47; however, it hasn't been released.
Could you please release a new version of @atlaskit/pragmatic-drag-and-drop-unit-testing for users of newer versions of Jest and/or jsdom?
Metadata
Metadata
Assignees
Labels
No labels