-
Notifications
You must be signed in to change notification settings - Fork 668
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
Unknown custom element: <router-link> when using mount()
#994
Labels
Comments
@eddyerburgh Thanks, however, was it really fixed? I'm still observing the same issue when using |
The fix will be included in the next beta release, which will before September 15 |
Is it fixed? ??? I'm experiencing the same here:
However if I comment out the first it, it doesn't throw any errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.0.0-beta.25
Steps to reproduce
Component
Test.js
, which uses another component withrouter-link
inside:Given the following test:
What is expected?
In both test cases
router-link
inOfficeCard
should be stubbed and tests should pass without errors.What is actually happening?
Instead, the following error will be logged to the console for both cases:
The issue is definitely related to the
vue-class-component
since the following code will pass without errors:I assume it is because it directly extends
Vue
which preventstest-utils
from effectively stubbing underlying components.The text was updated successfully, but these errors were encountered: