Skip to content

New release of @atlaskit/pragmatic-drag-and-drop-unit-testingΒ #214

Open
@joshkel

Description

@joshkel

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

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