Skip to content

Commit 73ce0ca

Browse files
committed
test: update snap
1 parent bac864f commit 73ce0ca

File tree

6 files changed

+52
-11
lines changed

6 files changed

+52
-11
lines changed

components/button/__tests__/__snapshots__/demo.test.js.snap

+4-4
Large diffs are not rendered by default.

components/cascader/__tests__/__snapshots__/demo.test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ exports[`renders ./components/cascader/demo/lazy.vue correctly 1`] = `
7979
`;
8080
8181
exports[`renders ./components/cascader/demo/multiple.vue correctly 1`] = `
82-
<div style="width: 233px;" class="ant-select ant-cascader ant-select-multiple ant-select-allow-clear">
82+
<div style="width: 100%;" class="ant-select ant-cascader ant-select-multiple ant-select-allow-clear">
8383
<!---->
8484
<!---->
8585
<div class="ant-select-selector">

components/icon/__tests__/__snapshots__/demo.test.js.snap

+36-3
Large diffs are not rendered by default.

components/input/__tests__/__snapshots__/demo.test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ exports[`renders ./components/input/demo/show-count.vue correctly 1`] = `
126126
127127
exports[`renders ./components/input/demo/size.vue correctly 1`] = `<div class="components-input-demo-size"><input placeholder="large size" type="text" class="ant-input ant-input-lg"><input placeholder="default size" type="text" class="ant-input"><input placeholder="small size" type="text" class="ant-input ant-input-sm"></div>`;
128128
129-
exports[`renders ./components/input/demo/textarea.vue correctly 1`] = `<textarea placeholder="Basic usage" rows="4" class="ant-input"></textarea>`;
129+
exports[`renders ./components/input/demo/textarea.vue correctly 1`] = `<textarea placeholder="Basic usage" rows="4" class="ant-input"></textarea><br><br><textarea rows="4" placeholder="maxLength is 6" class="ant-input"></textarea>`;
130130
131131
exports[`renders ./components/input/demo/tooltip.vue correctly 1`] = `<!----><input placeholder="Input a number" type="text" max-length="25" style="width: 120px;" class="ant-input">`;

components/layout/__tests__/__snapshots__/demo.test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ exports[`renders ./components/layout/demo/fixed.vue correctly 1`] = `
118118

119119
exports[`renders ./components/layout/demo/fixed-sider.vue correctly 1`] = `
120120
<section class="ant-layout ant-layout-has-sider">
121-
<aside style="overflow: auto; height: 100vh; position: fixed; left: 0px; flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;" class="ant-layout-sider ant-layout-sider-dark">
121+
<aside style="overflow: auto; height: 100vh; position: fixed; left: 0px; top: 0px; bottom: 0px; flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;" class="ant-layout-sider ant-layout-sider-dark">
122122
<div class="ant-layout-sider-children">
123123
<div class="logo"></div>
124124
<ul class="ant-menu ant-menu-root ant-menu-inline ant-menu-dark" role="menu" data-menu-list="true">

components/timeline/__tests__/__snapshots__/demo.test.js.snap

+9-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ exports[`renders ./components/timeline/demo/color.vue correctly 1`] = `
140140
<p>Technical testing 3 2015-09-01</p>
141141
</div>
142142
</li>
143-
<li class="ant-timeline-item ant-timeline-item-last">
143+
<li class="ant-timeline-item">
144144
<!---->
145145
<div class="ant-timeline-item-tail"></div>
146146
<div class="ant-timeline-item-head ant-timeline-item-head-gray">
@@ -152,6 +152,14 @@ exports[`renders ./components/timeline/demo/color.vue correctly 1`] = `
152152
<p>Technical testing 3 2015-09-01</p>
153153
</div>
154154
</li>
155+
<li class="ant-timeline-item ant-timeline-item-last">
156+
<!---->
157+
<div class="ant-timeline-item-tail"></div>
158+
<div class="ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-#00CCFF" style="border-color: #00ccff; color: rgb(0, 204, 255);"><span role="img" aria-label="smile" class="anticon anticon-smile"><svg focusable="false" class="" data-icon="smile" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"></path></svg></span></div>
159+
<div class="ant-timeline-item-content">
160+
<p>Custom color testing</p>
161+
</div>
162+
</li>
155163
</ul>
156164
`;
157165

0 commit comments

Comments
 (0)