test: modify button edit event unit test case

This commit is contained in:
Sagi 2022-09-21 17:05:48 +08:00
parent a0a83576dc
commit d628e0aaeb
1 changed files with 0 additions and 13 deletions

View File

@ -132,19 +132,6 @@ describe('f-button-edit', () => {
expect(handleClick).toBeCalled();
});
it('should emit event named mouseEnter when mouse move in text box', async () => {
const handleClick = jest.fn();
const wrapper = mount({
setup() {
return () => {
return <ButtonEdit onMouseEnter={handleClick}></ButtonEdit>;
};
},
});
await wrapper.trigger('mouseenter');
expect(handleClick).toBeCalled();
});
it('should emit event named mouseEnterIcon when mouse move in append button', async () => {
const handleClick = jest.fn();
const wrapper = mount({