From 88f285965830a9b10d715e0382bbc8d324974edc Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 22 Feb 2020 20:08:28 +0800 Subject: [PATCH] test: update radio test --- components/radio/__tests__/radio.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/radio/__tests__/radio.test.js b/components/radio/__tests__/radio.test.js index 7141c3072..ac7806e89 100644 --- a/components/radio/__tests__/radio.test.js +++ b/components/radio/__tests__/radio.test.js @@ -1,10 +1,14 @@ import { mount } from '@vue/test-utils'; import { asyncExpect } from '@/tests/utils'; -import Radio from '../Radio'; +import Radio, { Group, Button } from '..'; import focusTest from '../../../tests/shared/focusTest'; +import mountTest from '../../../tests/shared/mountTest'; describe('Radio', () => { focusTest(Radio); + mountTest(Radio); + mountTest(Group); + mountTest(Button); it('should render correctly', () => { const wrapper = mount({