Skip to content

Commit bf5bd95

Browse files
committed
test(notice-bar): 更新 notice-bar 组件的单元测试快照
1 parent 0aa9c9e commit bf5bd95

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

src/notice-bar/__test__/__snapshots__/demo.test.js.snap

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3+
exports[`NoticeBar NoticeBar banner demo works fine 1`] = `
4+
<banner>
5+
<t-notice-bar
6+
class="notice-bar-example"
7+
content="这是一条非通栏样式的通知消息"
8+
prefixIcon="{{false}}"
9+
visible="{{true}}"
10+
>
11+
<wx-view
12+
slot="prefix-icon"
13+
>
14+
<t-icon
15+
name="error-circle-filled"
16+
/>
17+
</wx-view>
18+
</t-notice-bar>
19+
</banner>
20+
`;
21+
322
exports[`NoticeBar NoticeBar base demo works fine 1`] = `
423
<base>
524
<t-notice-bar
@@ -37,7 +56,7 @@ exports[`NoticeBar NoticeBar customization demo works fine 1`] = `
3756
class="inline"
3857
slot="content"
3958
>
40-
提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述
59+
提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述
4160
</wx-view>
4261
<t-link
4362
content="详情"
@@ -70,7 +89,7 @@ exports[`NoticeBar NoticeBar event demo works fine 1`] = `
7089
class="inline"
7190
slot="content"
7291
>
73-
这是一条普通的通知信息
92+
这是一条普通的通知信息
7493
</wx-view>
7594
<t-link
7695
content="详情"

0 commit comments

Comments
 (0)