mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
remove outdated test case
This commit is contained in:
parent
f8e074812c
commit
b7a1b7b7be
@ -121,21 +121,6 @@ describe('Tooltip', () => {
|
||||
expect(wrapper2.find('span').first().getDOMNode().style.display).toBe('block');
|
||||
});
|
||||
|
||||
it('should not wrap span when trigger is not hover', () => {
|
||||
const wrapper = mount(
|
||||
<Tooltip
|
||||
title="xxxxx"
|
||||
trigger="click"
|
||||
mouseEnterDelay={0}
|
||||
mouseLeaveDelay={0}
|
||||
>
|
||||
<button type="button" disabled>Hello world!</button>
|
||||
</Tooltip>
|
||||
);
|
||||
|
||||
expect(wrapper.find('span')).toHaveLength(0);
|
||||
});
|
||||
|
||||
it('should works for arrowPointAtCenter', () => {
|
||||
const arrowWidth = 5;
|
||||
const horizontalArrowShift = 16;
|
||||
|
Loading…
Reference in New Issue
Block a user