All Questions
3 questions
1
vote
0
answers
461
views
Vue3 and Vite: Codegen node is missing for element/if/for node. Apply appropriate transforms first
I creating a storybook app with components on based Quasar. While writing the tests, I got a problem with the slots (Vite).
It is component's code:
<template>
<slot name="header" /...
0
votes
1
answer
244
views
unit test error, Quasar Drawer (QDrawer) $layout.totalWidth is undefined Vue 3
I'm trying to create this unit test in Vue Js 3
Unit Test
render(Paragraph, {
props: {analise: analise, textosAutuacao: autuacao},
global: {
plugins: [...
2
votes
2
answers
991
views
vue/test-utils failed to trigger events on quasar q-input
Code sample as below:
vue/test-utils failed to trigger events on quasar q-input. I am trying to write a unit test using vue/test-utils and using quasar framework. What I am thinking to test is "a ...