test: update all snapshots

This commit is contained in:
chenjiahan
2020-11-21 22:27:11 +08:00
parent 3851c9a220
commit 9acac4c2b1
80 changed files with 16198 additions and 6923 deletions
+17 -12
View File
@@ -1,34 +1,39 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should render badge correctly 1`] = `<div class="van-badge van-badge--fixed">1</div>`;
exports[`should render badge correctly 1`] = `
<div class="van-badge van-badge--fixed">
1
</div>
`;
exports[`should render default slot correctly 1`] = `
<i class="van-badge__wrapper van-icon van-icon-success">Default Slot
<!---->
<!----></i>
<i class="van-badge__wrapper van-icon van-icon-success">
Default Slot
</i>
`;
exports[`should render dot correctly 1`] = `
<div class="van-badge van-badge--dot van-badge--fixed">
<!---->
</div>
`;
exports[`should render icon with builtin icon name correctly 1`] = `
<i class="van-badge__wrapper van-icon van-icon-success">
<!---->
<!---->
<!----></i>
</i>
`;
exports[`should render icon with local image correctly 1`] = `
<i class="van-badge__wrapper van-icon">
<!----><img class="van-icon__image" src="/assets/icon.jpg">
<!----></i>
<img class="van-icon__image"
src="/assets/icon.jpg"
>
</i>
`;
exports[`should render icon with url name correctly 1`] = `
<i class="van-badge__wrapper van-icon">
<!----><img class="van-icon__image" src="https://img.yzcdn.com/icon.jpg">
<!----></i>
<img class="van-icon__image"
src="https://img.yzcdn.com/icon.jpg"
>
</i>
`;