Update PanelMenu.spec.js

This commit is contained in:
Tuğçe Küçükoğlu 2022-12-20 15:16:42 +03:00
parent 1693834a99
commit b0277da94f

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