Files
vant/src/cell-group/test/index.spec.ts
T
neverlandandGitHub 1381070a12 chore: prefer named exports (#8315)
* chore: prefer named exports

* chore: fix import
2021-03-09 15:39:26 +08:00

13 lines
270 B
TypeScript

import { CellGroup } from '..';
import { mount } from '../../../test';
test('should render title slot correctly', () => {
const wrapper = mount(CellGroup, {
slots: {
title: () => 'Custom Title',
},
});
expect(wrapper.html()).toMatchSnapshot();
});