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

fix(within): Types should list custom and base queries #1045

Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Oct 3, 2021

What:

Adds custom query types if within adds custom and base (queries) queries.

Why:

#1034 broke the previous untested behavor.

How:

Intersect with custom queries.

Checklist:

  • [ ] Documentation added to the
    docs site
  • Tests
  • TypeScript definitions updated
  • Ready to be merged

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 3, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7070e6d:

Sandbox Source
react-testing-library-examples Configuration

@codecov
Copy link

codecov bot commented Oct 3, 2021

Codecov Report

Merging #1045 (7070e6d) into main (8c5c05d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main     #1045   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           25        25           
  Lines          920       920           
  Branches       284       284           
=========================================
  Hits           920       920           
Flag Coverage Δ
node-12 100.00% <ø> (ø)
node-14 100.00% <ø> (ø)
node-16.9.1 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c5c05d...7070e6d. Read the comment docs.

@timdeschryver timdeschryver merged commit b28586e into testing-library:main Oct 4, 2021
@eps1lon eps1lon deleted the fix/within/customQueries branch October 4, 2021 11:43
@github-actions
Copy link

github-actions bot commented Oct 4, 2021

🎉 This PR is included in version 8.7.2 🎉

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
bug Something isn't working released TypeScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants