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

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>

View File

@ -1,7 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should render demo and match snapshot 1`] = `
<div>
<div>
<div class="van-contact-edit">
<div class="van-contact-edit__fields">
@ -73,5 +72,4 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
</div>
</div>
`;

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>

View File

@ -1,7 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should render demo and match snapshot 1`] = `
<div>
<div>
<div class="van-contact-list">
<div class="van-radio-group van-contact-list__group"
@ -72,5 +71,4 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
</div>
</div>
`;