diff --git a/packages/primevue/src/button/Button.spec.js b/packages/primevue/src/button/Button.spec.js index fcb939668..ebef2382b 100644 --- a/packages/primevue/src/button/Button.spec.js +++ b/packages/primevue/src/button/Button.spec.js @@ -1,5 +1,4 @@ import { mount } from '@vue/test-utils'; -import { h } from 'vue'; import Button from './Button.vue'; describe('Button.vue', () => { @@ -70,15 +69,3 @@ describe('Button.vue', () => { expect(wrapper.find('.p-button-loading').exists()).toBe(false); }); }); - -describe('Button.vue', () => { - it('should render default slot', () => { - const wrapper = mount(Button, { - slots: { - default: h('span', { class: 'ml-2 font-bold' }, 'Default PrimeVue Button') - } - }); - - expect(wrapper.html()).toBe(``); - }); -}); diff --git a/packages/primevue/src/tag/Tag.spec.js b/packages/primevue/src/tag/Tag.spec.js index 6204d1dd3..0bd68fe97 100644 --- a/packages/primevue/src/tag/Tag.spec.js +++ b/packages/primevue/src/tag/Tag.spec.js @@ -1,5 +1,4 @@ import { mount } from '@vue/test-utils'; -import { h } from 'vue'; import Tag from './Tag.vue'; describe('Tag.vue', () => { @@ -46,18 +45,6 @@ describe('Tag.vue', () => { }); }); -describe('Tag.vue', () => { - it('should render default slot', () => { - const wrapper = mount(Tag, { - slots: { - default: h('i', { class: 'pi pi-discord' }, '') - } - }); - - expect(wrapper.html()).toBe(''); - }); -}); - describe('Tag.vue', () => { it('should be rounded', () => { const wrapper = mount(Tag, {