🐛 [Bug] console.error in Hashtag.spec.js
Created by: Tirokk
Authored by mattwr18 Closed
🐛 Bugreport
We are getting this error in components/Hashtag/Hashtag.spec.js:
console.error node_modules/vue/dist/vue.runtime.common.dev.js:621
[Vue warn]: Unknown custom element: <nuxt-link> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <HcHashtag>
<Root>
Steps to reproduce the behavior
- Pull down the latest changes from
master
- from
/webapp
runyarn test components/Hashtag/Hashtag.spec.js
- see error in console
Expected behavior
We should not have runtime errors... please register nuxt-link
properly in the test
Here is an example of how we have registered the component in the past https://github.com/Human-Connection/Human-Connection/blob/master/webapp/components/CommentList/CommentList.spec.js#L15