From d1f36c76b38662c3f5c346a00fd2ef3522f656e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Tue, 10 Jan 2023 11:08:59 +0300 Subject: [PATCH] Sidebar unit test fix --- components/sidebar/Sidebar.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sidebar/Sidebar.spec.js b/components/sidebar/Sidebar.spec.js index dacb4d869..638c41cb1 100644 --- a/components/sidebar/Sidebar.spec.js +++ b/components/sidebar/Sidebar.spec.js @@ -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 () => {