fix snapshots

This commit is contained in:
afc163 2016-12-26 11:16:28 +08:00
parent 8c0692f5e7
commit f07f33d879
2 changed files with 20 additions and 73 deletions

View File

@ -458,7 +458,7 @@ exports[`test renders ./components/grid/demo/playground.md correctly 1`] = `
class="ant-slider-rail" /> class="ant-slider-rail" />
<div <div
class="ant-slider-track ant-slider-track-1" class="ant-slider-track ant-slider-track-1"
style="visibility:visible;left:0%;width:33.33333333333333%;" /> style="visibility:visible;left:0%;width:40%;" />
<div <div
class="ant-slider-step"> class="ant-slider-step">
<span <span
@ -466,63 +466,55 @@ exports[`test renders ./components/grid/demo/playground.md correctly 1`] = `
style="left:0%;" /> style="left:0%;" />
<span <span
class="ant-slider-dot ant-slider-dot-active" class="ant-slider-dot ant-slider-dot-active"
style="left:16.666666666666664%;" /> style="left:20%;" />
<span <span
class="ant-slider-dot ant-slider-dot-active" class="ant-slider-dot ant-slider-dot-active"
style="left:33.33333333333333%;" /> style="left:40%;" />
<span <span
class="ant-slider-dot" class="ant-slider-dot"
style="left:50%;" /> style="left:60%;" />
<span <span
class="ant-slider-dot" class="ant-slider-dot"
style="left:66.66666666666666%;" /> style="left:80%;" />
<span
class="ant-slider-dot"
style="left:83.33333333333334%;" />
<span <span
class="ant-slider-dot" class="ant-slider-dot"
style="left:100%;" /> style="left:100%;" />
</div> </div>
<div <div
class="ant-slider-handle ant-slider-handle-2 ant-slider-handle-upper" class="ant-slider-handle ant-slider-handle-2 ant-slider-handle-upper"
style="left:33.33333333333333%;" /> style="left:40%;" />
<div <div
class="ant-slider-mark"> class="ant-slider-mark">
<span <span
class="ant-slider-mark-text ant-slider-mark-text-active" class="ant-slider-mark-text ant-slider-mark-text-active"
style="width:15.000000000000002%;margin-left:-7.500000000000001%;left:0%;"> style="width:18%;margin-left:-9%;left:0%;">
2 2
</span> </span>
<span <span
class="ant-slider-mark-text ant-slider-mark-text-active" class="ant-slider-mark-text ant-slider-mark-text-active"
style="width:15.000000000000002%;margin-left:-7.500000000000001%;left:16.666666666666664%;"> style="width:18%;margin-left:-9%;left:20%;">
3 3
</span> </span>
<span <span
class="ant-slider-mark-text ant-slider-mark-text-active" class="ant-slider-mark-text ant-slider-mark-text-active"
style="width:15.000000000000002%;margin-left:-7.500000000000001%;left:33.33333333333333%;"> style="width:18%;margin-left:-9%;left:40%;">
4 4
</span> </span>
<span <span
class="ant-slider-mark-text" class="ant-slider-mark-text"
style="width:15.000000000000002%;margin-left:-7.500000000000001%;left:50%;"> style="width:18%;margin-left:-9%;left:60%;">
6 6
</span> </span>
<span <span
class="ant-slider-mark-text" class="ant-slider-mark-text"
style="width:15.000000000000002%;margin-left:-7.500000000000001%;left:66.66666666666666%;"> style="width:18%;margin-left:-9%;left:80%;">
8 8
</span> </span>
<span <span
class="ant-slider-mark-text" class="ant-slider-mark-text"
style="width:15.000000000000002%;margin-left:-7.500000000000001%;left:83.33333333333334%;"> style="width:18%;margin-left:-9%;left:100%;">
12 12
</span> </span>
<span
class="ant-slider-mark-text"
style="width:15.000000000000002%;margin-left:-7.500000000000001%;left:100%;">
24
</span>
</div> </div>
</div> </div>
</div> </div>
@ -559,6 +551,14 @@ exports[`test renders ./components/grid/demo/playground.md correctly 1`] = `
</div> </div>
</div> </div>
</div> </div>
<pre>
<Row gutter={16}>
<Col span={6} />
<Col span={6} />
<Col span={6} />
<Col span={6} />
</Row>
</pre>
</div> </div>
`; `;

View File

@ -1,53 +0,0 @@
exports[`antd dist files exports modules correctly 1`] = `
Array [
"Affix",
"Anchor",
"AutoComplete",
"Alert",
"BackTop",
"Badge",
"Breadcrumb",
"Button",
"Calendar",
"Card",
"Collapse",
"Carousel",
"Cascader",
"Checkbox",
"Col",
"DatePicker",
"Dropdown",
"Form",
"Icon",
"Input",
"InputNumber",
"LocaleProvider",
"message",
"Menu",
"Modal",
"notification",
"Pagination",
"Popconfirm",
"Popover",
"Progress",
"Radio",
"Rate",
"Row",
"Select",
"Slider",
"Spin",
"Steps",
"Switch",
"Table",
"Transfer",
"Tree",
"TreeSelect",
"Tabs",
"Tag",
"TimePicker",
"Timeline",
"Tooltip",
"Mention",
"Upload",
]
`;