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

15 lines
466 B
JavaScript
Raw Normal View History

2022-09-06 12:03:37 +00:00
import { mount } from '@vue/test-utils';
2022-12-08 14:13:16 +00:00
import AccordionTab from './AccordionTab.vue';
2022-09-06 12:03:37 +00:00
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');
});
2022-09-14 11:26:01 +00:00
});