mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
chore: resolve conflict of feature merge master
This commit is contained in:
parent
2b46b3e6e1
commit
46d146d692
@ -1,6 +1,4 @@
|
||||
import React from 'react';
|
||||
import { mount, render } from 'enzyme';
|
||||
import { fireEvent, render as testLibRender } from '@testing-library/react';
|
||||
import Radio from '..';
|
||||
|
||||
import { render, fireEvent } from '../../../tests/utils';
|
||||
@ -240,7 +238,7 @@ describe('Radio Group', () => {
|
||||
it('onBlur & onFocus should work', () => {
|
||||
const handleBlur = jest.fn();
|
||||
const handleFocus = jest.fn();
|
||||
const { container } = testLibRender(
|
||||
const { container } = render(
|
||||
<Radio.Group options={['1', '2', '3']} onBlur={handleBlur} onFocus={handleFocus} />,
|
||||
);
|
||||
fireEvent.focus(container.firstChild);
|
||||
|
Loading…
Reference in New Issue
Block a user