You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded @vue/test-utils to 1.2.1 and found my tests failed. I found the similar issue at #810. Vue Component doesn't be rendered because v-if="false", however wrapper.findComponent(VueComponentInstance).exists() always returns true.
I located commits at https://github.com/vuejs/vue-test-utils/pull/768/files. I found find-vue-components.js listed in the PR was removed at dev branch. Is this file deprecated? Does findComponent implement as another way with the same mistake?
The text was updated successfully, but these errors were encountered:
zkd8907
changed the title
find(Component).exists() always returns true
wrapper.findComponent(VueComponentInstance).exists() always returns true
Jul 21, 2021
I upgraded @vue/test-utils to 1.2.1 and found my tests failed. I found the similar issue at #810. Vue Component doesn't be rendered because
v-if="false"
, howeverwrapper.findComponent(VueComponentInstance).exists()
always returnstrue
.I located commits at https://github.com/vuejs/vue-test-utils/pull/768/files. I found
find-vue-components.js
listed in the PR was removed at dev branch. Is this file deprecated? DoesfindComponent
implement as another way with the same mistake?The text was updated successfully, but these errors were encountered: