Skip to content

Introduce react testing library as a future replacement of anzyme #619

@acelaya

Description

@acelaya

Enzyme is no longer maintained, and there's not (and won't be) an official adapter for React 18, which makes tests run in React 17 mode with some warnings.

React testing library is not a drop-in replacement, and is more focused on integration tests than unit tests, with no option for shallow rendering.

We should migrate some tests as POC, and start writing new ones with the new library.

Then, we should progressively migrate the rest as they need to be edited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions