12 lines
264 B
TypeScript
12 lines
264 B
TypeScript
import { ConfigProvider } from '..';
|
|
import { mount } from '../../../test';
|
|
|
|
test('should render tag prop correctly', () => {
|
|
const wrapper = mount(ConfigProvider, {
|
|
props: {
|
|
tag: 'section',
|
|
},
|
|
});
|
|
expect(wrapper.html()).toMatchSnapshot();
|
|
});
|