Skip to content

Update react-testing-library #1336

@scurker

Description

@scurker

We're currently "stuck" on react testing library v12, because versions 13+ have removed support for React v16 and below:

React Testing Library versions 13+ require React v18. If your project uses an older version of React, be sure to install version 12:

This means we can't take advantage of any new queries/matchers that get added to react-testing-library/dom due to the following issues:

If any of the above issues get resolved, it might be possible for us to install the dom library as a peer dependency to take advantage of any new features OR if we fully migrate away from enzyme in order to upgrade to react 17+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions