Skip to content

Commit

Permalink
test: update snap
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs committed Apr 29, 2024
1 parent 4e6a89b commit 394446c
Show file tree
Hide file tree
Showing 25 changed files with 281 additions and 153 deletions.
4 changes: 4 additions & 0 deletions src/action-sheet/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports[`ActionSheet ActionSheet align demo works fine 1`] = `
<align>
<t-action-sheet
id="t-action-sheet"
usingCustomNavbar="{{true}}"
bind:selected="handleSelected"
/>
<t-button
Expand All @@ -22,6 +23,7 @@ exports[`ActionSheet ActionSheet grid demo works fine 1`] = `
<grid>
<t-action-sheet
id="t-action-sheet"
usingCustomNavbar="{{true}}"
bind:selected="handleSelected"
/>
<t-button
Expand Down Expand Up @@ -49,6 +51,7 @@ exports[`ActionSheet ActionSheet list demo works fine 1`] = `
<list>
<t-action-sheet
id="t-action-sheet"
usingCustomNavbar="{{true}}"
bind:selected="handleSelected"
/>
<t-button
Expand Down Expand Up @@ -85,6 +88,7 @@ exports[`ActionSheet ActionSheet status demo works fine 1`] = `
<status>
<t-action-sheet
id="t-action-sheet"
usingCustomNavbar="{{true}}"
bind:selected="handleSelected"
/>
<t-button
Expand Down
2 changes: 2 additions & 0 deletions src/button/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,15 @@ exports[`Button Button group-btn demo works fine 1`] = `
<t-button
block="{{true}}"
size="large"
tClass="group-btn"
theme="light"
>
填充按钮
</t-button>
<t-button
block="{{true}}"
size="large"
tClass="group-btn"
theme="primary"
>
填充按钮
Expand Down
3 changes: 1 addition & 2 deletions src/calendar/__test__/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,6 @@ exports[`calendar :base 1`] = `
<wx-view
class="t-button__content"
>
确定
</wx-view>
</wx-button>
Expand All @@ -801,7 +800,7 @@ exports[`calendar :base 1`] = `
ariaLabel="关闭"
ariaRole="button"
class="t-overlay t-fade-enter t-fade-enter-active class"
style="--td-overlay-transition-duration:300ms; z-index:11000;"
style="--td-overlay-transition-duration:300ms; z-index:11000; top:0px;"
bind:tap="handleClick"
catch:touchmove="noop"
bind:transitionend="onTransitionEnd"
Expand Down
1 change: 1 addition & 0 deletions src/cell/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ exports[`Cell Cell multiple demo works fine 1`] = `
exports[`Cell Cell theme demo works fine 1`] = `
<theme>
<t-cell-group
bordered="{{true}}"
theme="card"
>
<t-cell
Expand Down
4 changes: 2 additions & 2 deletions src/checkbox/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ exports[`Checkbox Checkbox type demo works fine 1`] = `
<t-checkbox
icon="{{
Array [
"https://tdesign.gtimg.com/miniprogram/checkbox-checked.png",
"https://tdesign.gtimg.com/miniprogram/checkbox.png",
"https://tdesign.gtimg.com/mobile/demos/checkbox-checked.png",
"https://tdesign.gtimg.com/mobile/demos/checkbox.png",
]
}}"
label="图片图标"
Expand Down
21 changes: 15 additions & 6 deletions src/col/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,30 @@ exports[`Col Col offset demo works fine 1`] = `
>
<t-col
span="8"
tClass="dark"
>
col-8
<wx-view
class="dark"
>
col-8
</wx-view>
</t-col>
<t-col
span="8"
tClass="light"
>
col-8
<wx-view
class="dark"
>
col-8
</wx-view>
</t-col>
<t-col
span="8"
tClass="dark"
>
col-8
<wx-view
class="dark"
>
col-8
</wx-view>
</t-col>
</t-row>
</offset>
Expand Down
Loading

0 comments on commit 394446c

Please sign in to comment.