We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.0.0-beta.10
https://github.com/hiendv/vue-test-utils-contains-bug
npm install npm test
There is no error when running the test component contains the SVG
component contains the SVG
The test fails
The text was updated successfully, but these errors were encountered:
I'm not 100% sure, but (at least until recently), contains does not match the root node - that's what is does.
contains
is
expect(wrapper.is('svg')).toBeTruthy()
If that's not it, I could imagine that adding html with domProps isn't "visible"until the next tick ...
domProps
Sorry, something went wrong.
@LinusBorg contains now matches the root node.
65023b0
@LinusBorg FYI, in the reproduction, it's not the root node.
No branches or pull requests
Version
1.0.0-beta.10
Reproduction link
https://github.com/hiendv/vue-test-utils-contains-bug
Steps to reproduce
npm install
npm test
What is expected?
There is no error when running the test
component contains the SVG
What is actually happening?
The test fails
The text was updated successfully, but these errors were encountered: