feat(ConfigProvider): add tag prop (#8967)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { ConfigProvider } from '..';
|
||||
import { mount } from '../../../test';
|
||||
|
||||
test('should render tag prop correctly', () => {
|
||||
const wrapper = mount(ConfigProvider, {
|
||||
props: {
|
||||
tag: 'section',
|
||||
},
|
||||
});
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
});
|
||||
Reference in New Issue
Block a user