test: update all snapshots
This commit is contained in:
@@ -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>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user