Unit test fixes

This commit is contained in:
Bahadır Sofuoğlu 2023-04-06 02:06:03 +03:00
parent f7b83553e5
commit 84b85dc77d
10 changed files with 889 additions and 1399 deletions

View file

@ -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' });