Skip to content

Typings for testHook are incorrect #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
carlos-algms opened this issue Feb 11, 2019 · 2 comments
Closed

Typings for testHook are incorrect #291

carlos-algms opened this issue Feb 11, 2019 · 2 comments

Comments

@carlos-algms
Copy link

  • 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.

@carlos-algms carlos-algms changed the title Typings foir testHook are wrong Typings for testHook are incorrect Feb 11, 2019
@alexkrolick
Copy link
Collaborator

Closed by #292

@carlos-algms
Copy link
Author

Thank you so much for the fast solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants