test(NavBar): update test cases
This commit is contained in:
@@ -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,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',
|
||||
|
||||
Reference in New Issue
Block a user