Skip to content

Commit 88f2859

Browse files
committed
test: update radio test
1 parent 601f9c1 commit 88f2859

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/radio/__tests__/radio.test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import { mount } from '@vue/test-utils';
22
import { asyncExpect } from '@/tests/utils';
3-
import Radio from '../Radio';
3+
import Radio, { Group, Button } from '..';
44
import focusTest from '../../../tests/shared/focusTest';
5+
import mountTest from '../../../tests/shared/mountTest';
56

67
describe('Radio', () => {
78
focusTest(Radio);
9+
mountTest(Radio);
10+
mountTest(Group);
11+
mountTest(Button);
812

913
it('should render correctly', () => {
1014
const wrapper = mount({

0 commit comments

Comments
 (0)