Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: getQueriesForElement types #1354

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

Open
rodgobbi wants to merge 1 commit into testing-library:main
base: main
Choose a base branch
Loading
from rodgobbi:fix/getQueriesForElement-types

Conversation

Copy link

@rodgobbi rodgobbi commented Mar 31, 2025
edited
Loading

What:

Fix getQueriesForElement type.

Why:

Type definition for getQueriesForElement doesn't match the JS implementation.

How:

Add initialValue third parameter to the function signature.

Checklist:

  • Documentation added to the
    docs site N/A
  • Tests
  • TypeScript definitions updated
  • Ready to be merged

Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

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

This change looks good to me.
The failing build is something we'll have to look into, I will create an issue to look into this.

Copy link
Author

rodgobbi commented Apr 3, 2025

This change looks good to me. The failing build is something we'll have to look into, I will create an issue to look into this.

Thanks for checking @timdeschryver 👍

I noticed the CI failing and checked if it happened to other PRs and indeed it looked like some issue in every PR.

Lemme know when it gets fixed, I can merge with the main branch and push to fix if needed.

timdeschryver reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@timdeschryver timdeschryver timdeschryver approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /