Skip to content

Commit 5bfc2d5

Browse files
committed
test: navbar snapshots
1 parent 5197e77 commit 5bfc2d5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/packages/__VUE/navbar/__test__/__snapshots__/navbar.spec.ts.snap

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`should render left slot correctly 1`] = `
4-
"<view class=\\"nut-navbar__left\\"><i class=\\"nutui-iconfont nut-icon nut-icon-left\\" style=\\"color: rgb(151, 151, 151);\\" src=\\"\\"></i>
4+
"<view class=\\"nut-navbar__left\\">
5+
<!--v-if-->
56
<!--v-if-->Custom Left
67
</view>"
78
`;
89
910
exports[`should render placeholder element when using placeholder prop 1`] = `
1011
"<view class=\\"nut-navbar--placeholder\\">
1112
<view class=\\"nut-navbar nut-navbar--fixed\\" style=\\"z-index: 10;\\">
12-
<view class=\\"nut-navbar__left\\"><i class=\\"nutui-iconfont nut-icon nut-icon-left\\" style=\\"color: rgb(151, 151, 151);\\" src=\\"\\"></i>
13+
<view class=\\"nut-navbar__left\\">
14+
<!--v-if-->
1315
<!--v-if-->
1416
</view>
1517
<view class=\\"nut-navbar__title\\">

0 commit comments

Comments
 (0)