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
Important: the problem is only present when testing!
I am using trying to test this component with vitest. For this, I am mounting it with @vue/test-utils, which throws error.
Example component: <QRCodeVue3 value="https://example.com"></QRCodeVue3>
Problem:
[Vue warn]: Invalid vnode type when creating vnode: undefined.
at <ErrorPopup ref="VTU_COMPONENT" >
at <VTUROOT>
The component is not created, when console-logging the html part of the wrapper I receive the following in place of it: <!---->
I can successfully mount and test other components.
The text was updated successfully, but these errors were encountered:
Hi!
Important: the problem is only present when testing!
I am using trying to test this component with
vitest
. For this, I am mounting it with@vue/test-utils
, which throws error.Example component:
<QRCodeVue3 value="https://example.com"></QRCodeVue3>
Problem:
The component is not created, when console-logging the html part of the wrapper I receive the following in place of it:
<!---->
I can successfully mount and test other components.
The text was updated successfully, but these errors were encountered: