- fix Popover.spec.js
parent
d26a7b74e4
commit
9af790d90a
|
@ -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);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue