-
Notifications
You must be signed in to change notification settings - Fork 111
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
Multi-root node components aren't cleaned properly up after each test #295
Labels
bug
Something isn't working
Comments
I have the same issue actually. Any news about this? |
I think I am also seeing something similar. I was in the process of upgrading a number of dependencies. |
I've tried calling |
ah crap, we just adopted VTL here! I think I am running into the same issue.. any updates? |
lyncasterc
added a commit
to lyncasterc/vue-testing-library
that referenced
this issue
Feb 12, 2025
lyncasterc
added a commit
to lyncasterc/vue-testing-library
that referenced
this issue
Feb 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Components that render multiple root nodes or
<slot />
in root won't be cleaned up properly after each test or by callingcleanup
manually.To Reproduce
The following test cases will currently fail if added to
auto-cleanup.js
.Expected behavior
cleanup
should remove all attached wrapping elements frombody
.Related information:
@testing-library/vue
version: 6.6.1Vue
version: 3.2.45node
version: 18.2.1npm
(oryarn
) version: yarn 3.2.4The text was updated successfully, but these errors were encountered: