test: fix snapshot

This commit is contained in:
chenjiahan
2020-12-02 09:39:36 +08:00
parent ba11e3f249
commit 5de2acd964
4 changed files with 141 additions and 149 deletions
-2
View File
@@ -1,5 +1,4 @@
<template>
<demo-section>
<demo-block :title="t('basicUsage')">
<van-contact-edit
is-edit
@@ -10,7 +9,6 @@
@delete="onDelete"
/>
</demo-block>
</demo-section>
</template>
<script>
@@ -2,7 +2,6 @@
exports[`should render demo and match snapshot 1`] = `
<div>
<div>
<div class="van-contact-edit">
<div class="van-contact-edit__fields">
<div class="van-cell van-field">
@@ -72,6 +71,5 @@ exports[`should render demo and match snapshot 1`] = `
</button>
</div>
</div>
</div>
</div>
`;
-2
View File
@@ -1,5 +1,4 @@
<template>
<demo-section>
<demo-block :title="t('basicUsage')">
<van-contact-list
v-model="chosenContactId"
@@ -10,7 +9,6 @@
@select="onSelect"
/>
</demo-block>
</demo-section>
</template>
<script>
@@ -2,7 +2,6 @@
exports[`should render demo and match snapshot 1`] = `
<div>
<div>
<div class="van-contact-list">
<div class="van-radio-group van-contact-list__group"
role="radiogroup"
@@ -71,6 +70,5 @@ exports[`should render demo and match snapshot 1`] = `
</button>
</div>
</div>
</div>
</div>
`;