Browse Source

trailing spaces

pull/6770/head
afc163 7 years ago
parent
commit
fda881cc7a
  1. 2
      components/menu/__tests__/index.test.js
  2. 24
      components/tooltip/__tests__/__snapshots__/demo.test.js.snap

2
components/menu/__tests__/index.test.js

@ -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">

24
components/tooltip/__tests__/__snapshots__/demo.test.js.snap

@ -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.

Loading…
Cancel
Save