vant/src/cell/test/__snapshots__/index.spec.js.snap
2020-11-21 22:27:11 +08:00

55 lines
1.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should change arrow direction when using arrow-direction prop 1`] = `
<i class="van-badge__wrapper van-icon van-icon-arrow-down van-cell__right-icon">
</i>
`;
exports[`should change icon class prefix when using icon-prefix prop 1`] = `
<div class="van-cell">
<i class="van-badge__wrapper my-icon my-icon-success van-cell__left-icon">
</i>
</div>
`;
exports[`should render default slot correctly 1`] = `
<div class="van-cell">
<div class="van-cell__value van-cell__value--alone">
Custom Default
</div>
</div>
`;
exports[`should render extra slot correctly 1`] = `
<div class="van-cell">
Custom Extra
</div>
`;
exports[`should render icon slot correctly 1`] = `
<div class="van-cell">
Custom Icon
</div>
`;
exports[`should render label slot correctly 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
Title
</span>
<div class="van-cell__label">
Custom Label
</div>
</div>
</div>
`;
exports[`should render title slot correctly 1`] = `
<div class="van-cell">
<div class="van-cell__title">
Custom Title
</div>
</div>
`;