From f07f33d8793fc3c8cbfebff4bccdec131ce89eed Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 26 Dec 2016 11:16:28 +0800 Subject: [PATCH] fix snapshots --- .../__tests__/__snapshots__/demo.test.js.snap | 40 +++++++------- tests/__snapshots__/index.test.js.snap | 53 ------------------- 2 files changed, 20 insertions(+), 73 deletions(-) delete mode 100644 tests/__snapshots__/index.test.js.snap diff --git a/components/grid/__tests__/__snapshots__/demo.test.js.snap b/components/grid/__tests__/__snapshots__/demo.test.js.snap index 474b7da4a8..9db10365c8 100644 --- a/components/grid/__tests__/__snapshots__/demo.test.js.snap +++ b/components/grid/__tests__/__snapshots__/demo.test.js.snap @@ -458,7 +458,7 @@ exports[`test renders ./components/grid/demo/playground.md correctly 1`] = ` class="ant-slider-rail" />
+ style="visibility:visible;left:0%;width:40%;" />
+ style="left:20%;" /> - + style="left:40%;" /> + style="left:60%;" /> + style="left:80%;" />
+ style="left:40%;" />
+ style="width:18%;margin-left:-9%;left:0%;"> 2 + style="width:18%;margin-left:-9%;left:20%;"> 3 + style="width:18%;margin-left:-9%;left:40%;"> 4 + style="width:18%;margin-left:-9%;left:60%;"> 6 + style="width:18%;margin-left:-9%;left:80%;"> 8 + style="width:18%;margin-left:-9%;left:100%;"> 12 - - 24 -
@@ -559,6 +551,14 @@ exports[`test renders ./components/grid/demo/playground.md correctly 1`] = ` +
+    
+      
+      
+      
+      
+    
+  
`; diff --git a/tests/__snapshots__/index.test.js.snap b/tests/__snapshots__/index.test.js.snap deleted file mode 100644 index 83e27db199..0000000000 --- a/tests/__snapshots__/index.test.js.snap +++ /dev/null @@ -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", -] -`;