From 64744e8aa2043f9b004372d2adfab028bfc6bd16 Mon Sep 17 00:00:00 2001 From: wangxingkang Date: Wed, 7 Dec 2022 11:52:17 +0800 Subject: [PATCH] chore: remove duplicate code (#39337) --- tests/utils.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/utils.tsx b/tests/utils.tsx index e1da0ba223..a7245965db 100644 --- a/tests/utils.tsx +++ b/tests/utils.tsx @@ -32,8 +32,6 @@ export const sleep = async (timeout = 0) => { const customRender = (ui: ReactElement, options?: Omit) => render(ui, { wrapper: StrictMode, ...options }); -export * from '@testing-library/react'; - export function renderHook(func: () => T): { result: React.RefObject } { const result = React.createRef();