mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
30ac6bd4e4
* test: React StrictMode * test: fix Spin test * chore: wrapper enzyme * test: fix setState * test: more test cover * test: more test cover * test: more test cover * test: more test cover * test: more test cover * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: disable part of it * test: fix test & add placeholder * test: Use orign enzyme mount Co-authored-by: zombiej <smith3816@gmail.com>
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>
|
|
`;
|