-
Notifications
You must be signed in to change notification settings - Fork 111
Bound queries to the base element #100
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 #100 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 66 67 +1
Branches 11 13 +2
=====================================
+ Hits 66 67 +1
Continue to review full report at Codecov.
|
38ebd3d
to
d20089c
Compare
All looks good to me, I think the resulting code is a lot cleaner as well. |
@ChristophWalter @dfcook I've updated the PR in order to make it closer to React Testing Library. https://testing-library.com/docs/react-testing-library/api#container |
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR aims to fix several issues when trying to query content outside of the regular DOM node tree (portals, modals, etc). It tries to mirror React Testing Library behavior.
I also added a test based on Vuetify, because (1) it is related to the introduced changes and (2) Vuetify is widely-used and comes with its own nuances.
This is a breaking change since
container
andbaseElement
changed their meaning.This PR closes #98