Update SplitButton.spec.js

This commit is contained in:
Tuğçe Küçükoğlu 2023-03-17 10:52:00 +03:00
parent 09a2f9c793
commit dda3d44b0d

View file

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