Skip to content

Commit

Permalink
test(statistic): update test snap
Browse files Browse the repository at this point in the history
  • Loading branch information
HaixingOoO committed Nov 27, 2023
1 parent 7c81262 commit ec71633
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 55 deletions.
190 changes: 138 additions & 52 deletions test/snap/__snapshots__/csr.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -179853,7 +179853,7 @@ exports[`csr snapshot test > csr test src/statistic/_example/animation.jsx 1`] =
<span
class="t-statistic-content-value"
>
56.32
0.00
</span>
<span
class="t-statistic-content-suffix"
Expand Down Expand Up @@ -179939,7 +179939,7 @@ exports[`csr snapshot test > csr test src/statistic/_example/animation.jsx 1`] =
<span
class="t-statistic-content-value"
>
56.32
0.00
</span>
<span
class="t-statistic-content-suffix"
Expand Down Expand Up @@ -181006,26 +181006,64 @@ exports[`csr snapshot test > csr test src/statistic/_example/combination.jsx 1`]
<div
class="t-space-item"
>
<span>
the day before
<i
class="t-icon t-icon-arrow-up"
style="color: rgb(213, 73, 65);"
/>
9%
</span>
<div
class="t-space t-space-align-center t-space-horizontal"
style="gap: 7px;"
>
<div
class="t-space-item"
>
<div
style="width: 120px;"
>
the day before
</div>
</div>
<div
class="t-space-item"
>
<i
class="t-icon t-icon-arrow-up"
style="color: rgb(213, 73, 65);"
/>
</div>
<div
class="t-space-item"
>
9%
</div>
</div>
</div>
<div
class="t-space-item"
>
<span>
last week
<i
class="t-icon t-icon-arrow-down"
style="color: rgb(43, 164, 113);"
/>
9%
</span>
<div
class="t-space t-space-align-center t-space-horizontal"
style="gap: 7px;"
>
<div
class="t-space-item"
>
<div
style="width: 120px;"
>
last week
</div>
</div>
<div
class="t-space-item"
>
<i
class="t-icon t-icon-arrow-down"
style="color: rgb(43, 164, 113);"
/>
</div>
<div
class="t-space-item"
>
9%
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -181312,26 +181350,64 @@ exports[`csr snapshot test > csr test src/statistic/_example/combination.jsx 1`]
<div
class="t-space-item"
>
<span>
the day before
<i
class="t-icon t-icon-arrow-up"
style="color: rgb(213, 73, 65);"
/>
9%
</span>
<div
class="t-space t-space-align-center t-space-horizontal"
style="gap: 7px;"
>
<div
class="t-space-item"
>
<div
style="width: 120px;"
>
the day before
</div>
</div>
<div
class="t-space-item"
>
<i
class="t-icon t-icon-arrow-up"
style="color: rgb(213, 73, 65);"
/>
</div>
<div
class="t-space-item"
>
9%
</div>
</div>
</div>
<div
class="t-space-item"
>
<span>
last week
<i
class="t-icon t-icon-arrow-down"
style="color: rgb(43, 164, 113);"
/>
9%
</span>
<div
class="t-space t-space-align-center t-space-horizontal"
style="gap: 7px;"
>
<div
class="t-space-item"
>
<div
style="width: 120px;"
>
last week
</div>
</div>
<div
class="t-space-item"
>
<i
class="t-icon t-icon-arrow-down"
style="color: rgb(43, 164, 113);"
/>
</div>
<div
class="t-space-item"
>
9%
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -181469,7 +181545,7 @@ exports[`csr snapshot test > csr test src/statistic/_example/loading.jsx 1`] = `
class="t-space-item"
>
<button
class="t-switch t-size-l"
class="t-switch t-is-checked t-size-l"
role="switch"
type="button"
>
Expand All @@ -181492,14 +181568,14 @@ exports[`csr snapshot test > csr test src/statistic/_example/loading.jsx 1`] = `
>
Downloads
</div>
<div
class="t-statistic-content"
>
<span
class="t-statistic-content-value"
<div>
<div
class="t-skeleton__row"
>
123,456
</span>
<div
class="t-skeleton__col t-skeleton--type-text t-skeleton--animation-gradient"
/>
</div>
</div>
</div>
</div>
Expand All @@ -181515,7 +181591,7 @@ exports[`csr snapshot test > csr test src/statistic/_example/loading.jsx 1`] = `
class="t-space-item"
>
<button
class="t-switch t-size-l"
class="t-switch t-is-checked t-size-l"
role="switch"
type="button"
>
Expand All @@ -181538,14 +181614,14 @@ exports[`csr snapshot test > csr test src/statistic/_example/loading.jsx 1`] = `
>
Downloads
</div>
<div
class="t-statistic-content"
>
<span
class="t-statistic-content-value"
<div>
<div
class="t-skeleton__row"
>
123,456
</span>
<div
class="t-skeleton__col t-skeleton--type-text t-skeleton--animation-gradient"
/>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -181620,7 +181696,7 @@ exports[`csr snapshot test > csr test src/statistic/_example/slot.jsx 1`] = `
<div>
<div
class="t-space t-space-horizontal"
style="gap: 16px;"
style="gap: 32px;"
>
<div
class="t-space-item"
Expand Down Expand Up @@ -181716,6 +181792,11 @@ exports[`csr snapshot test > csr test src/statistic/_example/slot.jsx 1`] = `
>
62.58
</span>
<span
class="t-statistic-content-unit"
>
%
</span>
<span
class="t-statistic-content-suffix"
>
Expand All @@ -181742,7 +181823,7 @@ exports[`csr snapshot test > csr test src/statistic/_example/slot.jsx 1`] = `
"container": <div>
<div
class="t-space t-space-horizontal"
style="gap: 16px;"
style="gap: 32px;"
>
<div
class="t-space-item"
Expand Down Expand Up @@ -181838,6 +181919,11 @@ exports[`csr snapshot test > csr test src/statistic/_example/slot.jsx 1`] = `
>
62.58
</span>
<span
class="t-statistic-content-unit"
>
%
</span>
<span
class="t-statistic-content-suffix"
>
Expand Down
Loading

0 comments on commit ec71633

Please sign in to comment.