types: test cases typing
This commit is contained in:
@@ -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();
|
||||
});
|
||||
Reference in New Issue
Block a user