diff --git a/packages/components/checkbox/__tests__/checkbox.test.tsx b/packages/components/checkbox/__tests__/checkbox.test.tsx index e878b020f47df..4780104ee0206 100644 --- a/packages/components/checkbox/__tests__/checkbox.test.tsx +++ b/packages/components/checkbox/__tests__/checkbox.test.tsx @@ -365,7 +365,7 @@ describe('check-button', () => { test('create', async () => { const checked = ref(false) const wrapper = mount(() => ( - + )) expect(wrapper.classes()).toContain('el-checkbox-button') @@ -378,7 +378,7 @@ describe('check-button', () => { test('disabled', async () => { const checked = ref(false) const wrapper = mount(() => ( - + )) expect(wrapper.classes()).toContain('is-disabled') @@ -507,11 +507,11 @@ describe('check-button', () => { setup() { return () => ( - - - - - + + + + + ) }, @@ -632,7 +632,7 @@ describe('check-button', () => { test('single checkbox group in form item, override label', async () => { const wrapper = mount(() => ( - + @@ -655,11 +655,11 @@ describe('check-button', () => { setup() { return () => ( - + - + diff --git a/packages/components/form/__tests__/form.test.tsx b/packages/components/form/__tests__/form.test.tsx index 556058fb9d616..1aac1204ee93b 100644 --- a/packages/components/form/__tests__/form.test.tsx +++ b/packages/components/form/__tests__/form.test.tsx @@ -339,10 +339,10 @@ describe('Form', () => { - - - - + + + + @@ -410,10 +410,10 @@ describe('Form', () => { - - - - + + + + diff --git a/packages/components/input-number/__tests__/input-number.test.tsx b/packages/components/input-number/__tests__/input-number.test.tsx index b26d6ccce1fe0..c258ec44742e9 100755 --- a/packages/components/input-number/__tests__/input-number.test.tsx +++ b/packages/components/input-number/__tests__/input-number.test.tsx @@ -12,7 +12,7 @@ describe('InputNumber.vue', () => { test('create', async () => { const num = ref(1) const wrapper = mount(() => ( - + )) expect(wrapper.find('input').exists()).toBe(true) }) diff --git a/packages/components/radio/__tests__/radio.test.tsx b/packages/components/radio/__tests__/radio.test.tsx index a88c07f737beb..e231f52d47c81 100644 --- a/packages/components/radio/__tests__/radio.test.tsx +++ b/packages/components/radio/__tests__/radio.test.tsx @@ -327,7 +327,7 @@ describe('Radio Button', () => { test('single radio group in form item, override label', async () => { const wrapper = mount(() => ( - + @@ -346,11 +346,11 @@ describe('Radio Button', () => { test('multiple radio groups in form item', async () => { const wrapper = mount(() => ( - + - +