Skip to content

Commit be9a847

Browse files
committed
test: update skeleton snap
1 parent 87fb0e2 commit be9a847

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

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

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
exports[`renders ./antdv-demo/docs/skeleton/demo/active.md correctly 1`] = `
44
<div class="ant-skeleton ant-skeleton-active">
5+
<!---->
56
<div class="ant-skeleton-content">
67
<h3 class="ant-skeleton-title" style="width: 38%;"></h3>
78
<ul class="ant-skeleton-paragraph">
@@ -15,6 +16,7 @@ exports[`renders ./antdv-demo/docs/skeleton/demo/active.md correctly 1`] = `
1516

1617
exports[`renders ./antdv-demo/docs/skeleton/demo/basic.md correctly 1`] = `
1718
<div class="ant-skeleton">
19+
<!---->
1820
<div class="ant-skeleton-content">
1921
<h3 class="ant-skeleton-title" style="width: 38%;"></h3>
2022
<ul class="ant-skeleton-paragraph">
@@ -30,12 +32,9 @@ exports[`renders ./antdv-demo/docs/skeleton/demo/children.md correctly 1`] = `
3032
<div class="article">
3133
<div>
3234
<h4>Ant Design Vue, a design language</h4>
33-
<p>
34-
We supply a series of design principles, practical patterns and high quality design
35-
resources (Sketch and Axure), to help people create their product prototypes beautifully
36-
and efficiently.
37-
</p>
38-
</div> <button type="button" class="ant-btn"><span>Show Skeleton</span></button>
35+
<p> We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently. </p>
36+
</div><button class="ant-btn" type="button">
37+
<!----><span>Show Skeleton</span></button>
3938
</div>
4039
`;
4140

@@ -55,16 +54,16 @@ exports[`renders ./antdv-demo/docs/skeleton/demo/complex.md correctly 1`] = `
5554
`;
5655

5756
exports[`renders ./antdv-demo/docs/skeleton/demo/list.md correctly 1`] = `
58-
<div><button type="button" role="switch" class="ant-switch"><span class="ant-switch-inner"></span></button>
57+
<div><button class="ant-switch" type="button" role="switch" aria-checked="false">
58+
<!----><span class="ant-switch-inner"><!----></span></button>
5959
<div class="ant-list ant-list-vertical ant-list-lg ant-list-split">
60+
<!---->
61+
<!---->
6062
<div class="ant-spin-nested-loading">
63+
<!---->
6164
<div class="ant-spin-container">
6265
<ul class="ant-list-items">
63-
<li class="ant-list-item ant-list-item-no-flex">
64-
<!---->
65-
<!---->
66-
<!---->
67-
<!---->
66+
<li class="ant-list-item ant-list-item-no-flex">
6867
<div class="ant-skeleton ant-skeleton-with-avatar ant-skeleton-active">
6968
<div class="ant-skeleton-header"><span class="ant-skeleton-avatar ant-skeleton-avatar-lg ant-skeleton-avatar-circle"></span></div>
7069
<div class="ant-skeleton-content">
@@ -75,12 +74,10 @@ exports[`renders ./antdv-demo/docs/skeleton/demo/list.md correctly 1`] = `
7574
</ul>
7675
</div>
7776
</div>
78-
</li>
79-
<li class="ant-list-item ant-list-item-no-flex">
80-
<!---->
81-
<!---->
8277
<!---->
8378
<!---->
79+
</li>
80+
<li class="ant-list-item ant-list-item-no-flex">
8481
<div class="ant-skeleton ant-skeleton-with-avatar ant-skeleton-active">
8582
<div class="ant-skeleton-header"><span class="ant-skeleton-avatar ant-skeleton-avatar-lg ant-skeleton-avatar-circle"></span></div>
8683
<div class="ant-skeleton-content">
@@ -91,12 +88,10 @@ exports[`renders ./antdv-demo/docs/skeleton/demo/list.md correctly 1`] = `
9188
</ul>
9289
</div>
9390
</div>
94-
</li>
95-
<li class="ant-list-item ant-list-item-no-flex">
96-
<!---->
97-
<!---->
9891
<!---->
9992
<!---->
93+
</li>
94+
<li class="ant-list-item ant-list-item-no-flex">
10095
<div class="ant-skeleton ant-skeleton-with-avatar ant-skeleton-active">
10196
<div class="ant-skeleton-header"><span class="ant-skeleton-avatar ant-skeleton-avatar-lg ant-skeleton-avatar-circle"></span></div>
10297
<div class="ant-skeleton-content">
@@ -107,10 +102,14 @@ exports[`renders ./antdv-demo/docs/skeleton/demo/list.md correctly 1`] = `
107102
</ul>
108103
</div>
109104
</div>
105+
<!---->
106+
<!---->
110107
</li>
111108
</ul>
112109
</div>
113110
</div>
111+
<!---->
112+
<!---->
114113
</div>
115114
</div>
116115
`;

0 commit comments

Comments
 (0)