test(NavBar): update test cases

This commit is contained in:
chenjiahan
2020-11-14 07:06:21 +08:00
parent 2b34fac38d
commit 98c553de29
18 changed files with 82 additions and 73 deletions
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should render title slot and match snapshot 1`] = `
exports[`should render title slot correctly 1`] = `
<div class="van-cell-group__title">Custom Title</div>
<div class="van-cell-group van-hairline--top-bottom">
<!---->
+1 -1
View File
@@ -1,7 +1,7 @@
import CellGroup from '..';
import { mount } from '@vue/test-utils';
test('should render title slot and match snapshot', () => {
test('should render title slot correctly', () => {
const wrapper = mount(CellGroup, {
slots: {
title: () => 'Custom Title',