From 46d146d6927da2b9ab046b1b09836bb5c74b8ae2 Mon Sep 17 00:00:00 2001 From: zombiej Date: Mon, 25 Jul 2022 17:39:38 +0800 Subject: [PATCH] chore: resolve conflict of feature merge master --- components/radio/__tests__/group.test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/radio/__tests__/group.test.js b/components/radio/__tests__/group.test.js index 14d6df2edc..a1b9b78fd8 100644 --- a/components/radio/__tests__/group.test.js +++ b/components/radio/__tests__/group.test.js @@ -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( , ); fireEvent.focus(container.firstChild);