Update SplitButton.spec.js
parent
09a2f9c793
commit
dda3d44b0d
|
@ -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]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue