Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs committed Aug 31, 2023
1 parent 61c9f9f commit 56bfc6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/back-top/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
exports[`BackTop BackTop base demo works fine 1`] = `
<base>
<t-back-top
scrollTop="{{0}}"
text="顶部"
theme="round"
bind:to-top="onToTop"
Expand All @@ -13,6 +14,7 @@ exports[`BackTop BackTop base demo works fine 1`] = `
exports[`BackTop BackTop half-round demo works fine 1`] = `
<half-round>
<t-back-top
scrollTop="{{0}}"
text="返回顶部"
theme="half-round-dark"
bind:to-top="onToTop"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`PullDownRefresh PullDownRefresh base demo works fine 1`] = `
"刷新完成",
]
}}"
value="{{false}}"
value="{{true}}"
bind:refresh="onRefresh"
bind:scroll="onScroll"
>
Expand Down Expand Up @@ -204,6 +204,11 @@ exports[`PullDownRefresh PullDownRefresh base demo works fine 1`] = `
拖拽该区域演示 顶部下拉刷新
</wx-view>
</wx-view>
<t-back-top
scrollTop="{{0}}"
text="顶部"
visibilityHeight="{{100}}"
/>
</wx-view>
</t-pull-down-refresh>
</base>
Expand Down

0 comments on commit 56bfc6f

Please sign in to comment.