diff --git a/src/packages/__VUE/icon/__tests__/index.spec.tsx b/src/packages/__VUE/icon/__tests__/index.spec.tsx
new file mode 100644
index 0000000000..37e353bd0d
--- /dev/null
+++ b/src/packages/__VUE/icon/__tests__/index.spec.tsx
@@ -0,0 +1,26 @@
+import { mount } from '@vue/test-utils';
+import { Add, IconFont } from '@nutui/icons-vue';
+
+test('Icon: svg color width height', async () => {
+ const wrapper = mount(() => {
+ return ;
+ });
+
+ const svg = wrapper.find('.nut-icon');
+ expect(svg.classes()).toContain('nut-icon-add');
+ expect(svg.attributes('style')).toContain('color: pink');
+ expect(svg.attributes('style')).toContain('height: 30px');
+ expect(svg.attributes('style')).toContain('width: 30px');
+});
+
+test('Icon: icofnont color width height', async () => {
+ const wrapper = mount(() => {
+ return ;
+ });
+
+ const svg = wrapper.find('.nut-icon');
+ expect(svg.classes()).toContain('nut-icon-add');
+ expect(svg.attributes('style')).toContain('color: pink');
+ expect(svg.attributes('style')).toContain('height: 30px');
+ expect(svg.attributes('style')).toContain('width: 30px');
+});