types: test cases typing

This commit is contained in:
chenjiahan
2021-02-11 13:04:00 +08:00
parent 7a5fb894d2
commit e2e0f66fe6
87 changed files with 129 additions and 121 deletions
+12
View File
@@ -0,0 +1,12 @@
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();
});