Skip to content

fix(TS): use Queries from @testing-library/dom #398

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

Merged

Conversation

NMinhNguyen
Copy link
Contributor

@NMinhNguyen NMinhNguyen commented Jun 25, 2019

What: Delete duplicate Query and Queries declarations and reuse them from @testing-library/dom instead.

Why: I mistakenly exported Queries interface when I shouldn't have in PR #396 - it was already being exported by @testing-library/dom. Also see #331 (review). Apologies for the original PR!

How: Deleted duplicate declarations and tested locally against the latest versions of RTL/DTL.

Checklist:

  • Documentation added to the
    docs site
  • Tests
  • Typescript definitions updated
  • Ready to be merged

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kentcdodds kentcdodds merged commit a51a86b into testing-library:master Jun 25, 2019
@kentcdodds
Copy link
Member

🎉 This PR is included in version 8.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants