-
Notifications
You must be signed in to change notification settings - Fork 235
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
Functional component test fails at findComponent #187
Comments
Related to #184? |
Checked that branch. First test passes, second test fails. |
After merging this #188 I will investigate this a little. I learned a lot in #184. I believe this was not working in VTU v1 either. I expect some limitations to by applied to a found functional component (currently we cannot detect emitted events from them, for example). In the meantime, I will be adding some warnings to let people know this is a known issue, such as here: #185 |
Thanks! As for VTU v1, it is working with similar functional component for Vue 2. |
Fixed in #238 This will be in the next release |
Simple test with functional component:
Both tests fail at
findComponent()
that returns null.vue: 3.0.0-rc.7
vue/test-utils: 2.0.0-beta.2, also tried with latest build from this repo
The text was updated successfully, but these errors were encountered: