Many missing RouterLinkStubs in component tests
Many component tests, both skipped and non-skipped, are showing errors related to the router-link
component. Either it is not defined at all, in a shallow mount:
[Vue warn]: Failed to resolve component: router-link
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at <Member member= {
id: 'member_id',
level: 20,
user: { id: 'user_id', email: 'james@test.me', display_name: 'James' },
group: null
} ref="VTU_COMPONENT" >
at <VTUROOT>
Or it is defined, because it was mounted with a regular mount
, but it was not stubbed and therefore does not work:
[Vue warn]: Component is missing template or render function.
at <RouterLink class="dropdown-item" disabled=true to="" ... >
at <HeaderActions corpusId="corpusid" ref="VTU_COMPONENT" >
at <VTUROOT>