Skip to content

Add @types/testing-library__jest-dom as explicit dependency #185

Closed
@leosuncin

Description

@leosuncin

Describe the feature you'd like:

In the new release v5.0.0 said that the typings are now in @types/testing-library__jest-dom package, so, for a Typescript project to work is needed to install both as follows:

npm i -D testing-library/jest-dom @types/testing-library__jest-dom

@testing-library/cypress has also its typings in separate package but is not necessary to explicit install the types because is a dependency of same package.

Suggested implementation:

Add @types/testing-library__jest-dom as dependency in package.json so no need to worry about if you use Typescript.

Describe alternatives you've considered:

The other alternative is to update the documentation to describe the need to install @types/testing-library__jest-dom for Typescript projects.

Teachability, Documentation, Adoption, Migration Strategy:

I can do a pull request. Then it will be necessary a new release with a patch, maybe v5.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions