Skip to content

Pre-10.14 node versions not supported in 10.x versions of testing-library #665

Closed
@krynhild

Description

@krynhild
  • @testing-library/react version: 10.0.4

What you did:

Tried to install @testing-library/react 10.0.4 in the environment with node 10.13 and yarn 1.12.3.

What happened:

image

Reproduction:

See above.

Problem description:

According to this commit testing library is supposed to work with all node 10.x versions. However, dom-testing-library depends on pretty-format@26.0.1 which requires >=node 10.14.2.

Suggested solution:

Change engines field to >=10.14.2.

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