primevue-mirror/components/accordiontab/AccordionTab.spec.js

14 lines
489 B
JavaScript
Raw Normal View History

2022-09-06 12:03:37 +00:00
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: '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do</p>'
}
});
expect(wrapper.text()).toBe('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do');
});
});