-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add a definition for TextMatch #52
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #52 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 18 18
=====================================
Hits 18 18 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coolio!
Oops. Could you rebase and resolve merge conflicts? Just did the one in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Thanks!
Hope I did it right... I was trying to actually rebase it rather than push another commit on but I came a little unstuck. Thanks for this library! |
… with it. docs: remove unnecessary variable in the fireEvent documentation (testing-library#51)
# Conflicts: # .all-contributorsrc # README.md
Sorry, tried again but it seems when I rebased the upstream changes it always thinks there is a conflict. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super! Thanks!
* Fix query function names in example Some function names in the example don't match the element. * Add me as a contributor
What:
Update typings by adding a
TextMatch
type.Why:
TypeScript consumers cannot use RegExp or functions in the query helpers, due to the argument being typed as string-only.
How:
Add a
TextMatch
type and replaced thestring
argument type for the various query helpers with it.Checklist: