mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Sidebar unit test fix
This commit is contained in:
parent
9052f5ac5b
commit
d1f36c76b3
1 changed files with 1 additions and 1 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue