mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Unit test fixes
This commit is contained in:
parent
f7b83553e5
commit
84b85dc77d
10 changed files with 889 additions and 1399 deletions
|
@ -29,14 +29,6 @@ describe('Toast.vue', () => {
|
|||
expect(wrapper.find('.p-toast-detail').text()).toBe('Message Content');
|
||||
});
|
||||
|
||||
it('should position is changed', async () => {
|
||||
await wrapper.setProps({ position: 'bottom-left' });
|
||||
|
||||
setTimeout(() => {
|
||||
expect(wrapper.find('.p-toast.p-component').classes()).toContain('p-toast-bottom-left');
|
||||
}, 200);
|
||||
});
|
||||
|
||||
it('should show grouped toast', async () => {
|
||||
await wrapper.setProps({ group: 'br' });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue