Skip to content
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

jest-dom type definition for toHaveDisplayValue() is missing #44361

Closed
4 tasks done
majesticuser opened this issue Apr 29, 2020 · 1 comment · Fixed by #44385
Closed
4 tasks done

jest-dom type definition for toHaveDisplayValue() is missing #44361

majesticuser opened this issue Apr 29, 2020 · 1 comment · Fixed by #44385

Comments

@majesticuser
Copy link

If you know how to fix the issue, make a pull request instead.

  • I tried using the @types/testing-library__jest-dom package and had problems.
  • I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
  • I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
  • Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Hello, since the release of jest-dom 5.5.0 (https://github.com/testing-library/jest-dom/releases/tag/v5.5.0) there is the new matcher toHaveDisplayValue()

It would be nice if you could add a type definition for toHaveDisplayValue().

Thank you and best regards

@berickson1
Copy link
Contributor

I'm not an author of this library, but here's a PR for the changes, can you test it?
#44385

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

Successfully merging a pull request may close this issue.

2 participants