mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
c34caad24c
* test: js => ts * test: add test * fix: fix eslint error * test: add test case * fix: fix test error * fix: fix eslint error * fix: fix eslint error * fix: eslint error fix * fix: fallback eslint config & add test case * test: add all test case * fix: bugfix * fix: bugFix * fix: bugFix * fix: bugFix * fix: lint * fix: add React.createRef * fix: add breadcrumbName in Routes * fix: any commit for restart ci/cd * fix: remove type * fix: test fix * fix: test fix * fix: add ts-ignore for id * test: add Icon test case * test: remove ts-ignore * test: add Icon test case
64 lines
1.4 KiB
Plaintext
64 lines
1.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Layout renders string width correctly 1`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark"
|
|
style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
>
|
|
Sider
|
|
</div>
|
|
</aside>
|
|
`;
|
|
|
|
exports[`Layout rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
<section
|
|
class="ant-layout ant-layout-rtl"
|
|
/>
|
|
`;
|
|
|
|
exports[`Layout rtl render component should be rendered correctly in RTL direction 2`] = `
|
|
<main
|
|
class="ant-layout-content"
|
|
/>
|
|
`;
|
|
|
|
exports[`Layout rtl render component should be rendered correctly in RTL direction 3`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark"
|
|
style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
/>
|
|
</aside>
|
|
`;
|
|
|
|
exports[`Layout should be controlled by collapsed 1`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark"
|
|
style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
>
|
|
Sider
|
|
</div>
|
|
</aside>
|
|
`;
|
|
|
|
exports[`Layout should be controlled by collapsed 2`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark ant-layout-sider-collapsed"
|
|
style="max-width: 80px; min-width: 80px; width: 80px; flex: 0 0 80px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
>
|
|
Sider
|
|
</div>
|
|
</aside>
|
|
`;
|