test: update radio test

pull/1845/head
tangjinzhou 2020-02-22 20:08:28 +08:00
parent 601f9c159b
commit 88f2859658
1 changed files with 5 additions and 1 deletions

View File

@ -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({