@maxpike/vue
Version:
Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS
10 lines (8 loc) • 342 B
text/typescript
import { shallowMount } from '@vue/test-utils';
import RichSelectClearButton from '../../../components/TRichSelect/RichSelectClearButton.vue';
describe('RichSelectClearButton', () => {
it('renders the component', () => {
const wrapper = shallowMount(RichSelectClearButton);
expect(wrapper.vm.$el.tagName).toBe('BUTTON');
});
});