[improvement] add test case for field icon props (#2876)

This commit is contained in:
neverland
2019-03-01 14:18:29 +08:00
committed by GitHub
parent 60b5e188c8
commit 4ad382b33a
6 changed files with 93 additions and 0 deletions
@@ -26,6 +26,17 @@ exports[`render label slot 1`] = `
</div>
`;
exports[`render right icon with icon prop for old version 1`] = `
<div class="van-cell van-field">
<div class="van-cell__value van-cell__value--alone">
<div class="van-field__body"><input type="text" class="van-field__control">
<div class="van-field__right-icon"><i class="van-icon van-icon-success">
<!----></i></div>
</div>
</div>
</div>
`;
exports[`render textarea 1`] = `
<div class="van-cell van-field">
<div class="van-cell__value van-cell__value--alone">