feat(ConfigProvider): add tag prop (#8967)

This commit is contained in:
neverland
2021-07-02 10:05:30 +08:00
committed by GitHub
parent cf3c9694df
commit 750c413917
7 changed files with 92 additions and 63 deletions
+11
View File
@@ -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();
});