mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 01:13:58 +08:00
chore: remove duplicate code (#39337)
This commit is contained in:
parent
a9964d606b
commit
64744e8aa2
@ -32,8 +32,6 @@ export const sleep = async (timeout = 0) => {
|
||||
const customRender = (ui: ReactElement, options?: Omit<RenderOptions, 'wrapper'>) =>
|
||||
render(ui, { wrapper: StrictMode, ...options });
|
||||
|
||||
export * from '@testing-library/react';
|
||||
|
||||
export function renderHook<T>(func: () => T): { result: React.RefObject<T> } {
|
||||
const result = React.createRef<T>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user