Update SplitButton.spec.js

pull/3767/head
Tuğçe Küçükoğlu 2023-03-17 10:52:00 +03:00
parent 09a2f9c793
commit dda3d44b0d
1 changed files with 1 additions and 1 deletions

View File

@ -51,6 +51,6 @@ describe('SplitButton.vue', () => {
it('should hide when default button is clicked', async () => { it('should hide when default button is clicked', async () => {
await wrapper.vm.onDefaultButtonClick(); await wrapper.vm.onDefaultButtonClick();
expect(wrapper.find('.p-tieredmenu.p-component').exists()).toBe(false); expect(wrapper.emitted()['click'][0]).toEqual([undefined]);
}); });
}); });