ant-design/components/menu/__tests__/__snapshots__/index.test.js.snap
2020-02-04 17:42:18 +08:00

75 lines
1.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Menu rtl render component should be rendered correctly in RTL direction 1`] = `
<ul
class="ant-menu ant-menu-light ant-menu-root ant-menu-rtl ant-menu-vertical"
direction="rtl"
role="menu"
>
<li
class="ant-menu-item"
role="menuitem"
/>
<li
class=" ant-menu-item-group"
>
<div
class="ant-menu-item-group-title"
/>
<ul
class="ant-menu-item-group-list"
/>
</li>
<li
class="ant-menu-submenu ant-menu-submenu-vertical"
role="menuitem"
>
<div
aria-expanded="false"
aria-haspopup="true"
class="ant-menu-submenu-title"
role="button"
title=""
>
<i
class="ant-menu-submenu-arrow"
/>
</div>
</li>
</ul>
`;
exports[`Menu should controlled collapse work 1`] = `
<ul
class="ant-menu ant-menu-light ant-menu-root ant-menu-inline"
role="menu"
>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left: 24px;"
>
<span>
Option 1
</span>
</li>
</ul>
`;
exports[`Menu should controlled collapse work 2`] = `
<ul
class="ant-menu ant-menu-light ant-menu-inline-collapsed ant-menu-root ant-menu-inline"
role="menu"
>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left: 24px;"
>
<span>
Option 1
</span>
</li>
</ul>
`;