Update PanelMenu.spec.js

pull/3437/head
Tuğçe Küçükoğlu 2022-12-20 15:16:42 +03:00
parent 1693834a99
commit b0277da94f
1 changed files with 2 additions and 1 deletions

View File

@ -72,8 +72,9 @@ describe('PanelMenu', () => {
await wrapper.vm.onHeaderClick({}, wrapper.vm.model[0]);
expect(wrapper.find('.p-panelmenu-header-action > .p-submenu-icon').classes()).toContain('pi-chevron-down');
setTimeout(() => {
expect(wrapper.findAll('.p-toggleable-content')[0].attributes().style).toBe(undefined);
expect(wrapper.findAll('.p-toggleable-content')[0].attributes().style).toBe('');
}, 25);
});