Skip to content

Typings for testHook are incorrect #291

Closed
@carlos-algms

Description

@carlos-algms
  • react-testing-library version: 5.6.0

Relevant code or config:

node_modules\react-testing-library\typings\index.d.ts

image

Reproduction:

image

Problem description:

It is impossible to run tests using testHook with TypeScript due to incorrect typings definitions.

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