import { mount } from '@vue/test-utils'; import AccordionTab from '@/components/accordiontab/AccordionTab.vue'; describe('AccordionTab.vue', () => { it('should exists', () => { const wrapper = mount(AccordionTab, { slots: { default: '
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
' } }); expect(wrapper.text()).toBe('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do'); }); });