Skip to content

fix: make sure options types match the of @testing-library/dom #252

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
merged 1 commit into from
Sep 18, 2020

Conversation

timmak
Copy link
Contributor

@timmak timmak commented Sep 18, 2020

Get the options type from the @testing-library/dom package as not all take MatchOptions as a query type some are an extension of that base type.

fixes: #251

@benmonro
Copy link
Member

@allcontributors please add @timmak for code, & tests

@allcontributors
Copy link
Contributor

@benmonro

I've put up a pull request to add @timmak! 🎉

@benmonro
Copy link
Member

@timmak thank you for fixing this!

@benmonro benmonro merged commit 6d655d2 into testing-library:master Sep 18, 2020
@github-actions
Copy link

🎉 This PR is included in version 4.2.3 🎉

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.

Type Error: Argument of type '{ name: string; }' is not assignable to parameter of type 'MatcherOptions'.
2 participants