Sidebar unit test fix

pull/3518/head^2
Bahadır Sofuoğlu 2023-01-10 11:08:59 +03:00
parent 9052f5ac5b
commit d1f36c76b3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ describe('Sidebar.vue', () => {
it('When component is mounted, sidebar should be exist', () => {
expect(wrapper.find('.p-sidebar.p-component').exists()).toBe(true);
expect(wrapper.find('.p-sidebar').classes()).toContain('p-sidebar-left');
expect(wrapper.find('.p-sidebar-mask').classes()).toContain('p-sidebar-left');
});
it('When mask element triggered, sidebar should be hide', async () => {