- fix Popover.spec.js

pull/6170/head
uros 2024-08-01 17:04:33 +02:00
parent d26a7b74e4
commit 9af790d90a
1 changed files with 0 additions and 4 deletions

View File

@ -13,9 +13,6 @@ describe('Popover.vue', () => {
teleport: true teleport: true
} }
}, },
props: {
showCloseIcon: true
},
slots: { slots: {
default: 'PrimeVue' default: 'PrimeVue'
} }
@ -28,6 +25,5 @@ describe('Popover.vue', () => {
expect(wrapper.find('.p-popover.p-component').exists()).toBe(true); expect(wrapper.find('.p-popover.p-component').exists()).toBe(true);
expect(wrapper.find('.p-popover-content').exists()).toBe(true); expect(wrapper.find('.p-popover-content').exists()).toBe(true);
expect(wrapper.find('.p-popover-content').text()).toBe('PrimeVue'); expect(wrapper.find('.p-popover-content').text()).toBe('PrimeVue');
expect(wrapper.find('.p-popover-close').exists()).toBe(true);
}); });
}); });