trailing spaces

This commit is contained in:
afc163 2017-07-07 19:45:59 +08:00
parent 7fcfa13c24
commit fda881cc7a
2 changed files with 25 additions and 1 deletions

View File

@ -156,7 +156,7 @@ describe('Menu', () => {
expect(wrapper.find('.ant-menu-sub').at(0).hasClass('ant-menu-inline')).toBe(true);
expect(wrapper.find('.ant-menu-sub').at(0).hasClass('ant-menu-hidden')).toBe(false);
});
it('should open submenu when click submenu title (inline)', async () => {
const wrapper = mount(
<Menu mode="inline">

View File

@ -21,6 +21,30 @@ exports[`renders ./components/tooltip/demo/arrow-point-at-center.md correctly 1`
</div>
`;
exports[`renders ./components/tooltip/demo/auto-adjust-overflow.md correctly 1`] = `
<div
style="overflow:hidden;position:relative;padding:24px;border:1px solid #e9e9e9;"
>
<button
class="ant-btn"
type="button"
>
<span>
Adjust automatically / 自动调整
</span>
</button>
<br />
<button
class="ant-btn"
type="button"
>
<span>
Ingore / 不处理
</span>
</button>
</div>
`;
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
<span>
Tooltip will show when mouse enter.