UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

7 lines (6 loc) 450 B
import { RenderOptions } from '@testing-library/react'; import { TestProviderProps } from './TestProvider'; export type CustomRenderOptions = { providerProps?: TestProviderProps; } & RenderOptions; export declare const customRender: (ui: React.ReactElement, { providerProps, ...renderOptions }?: CustomRenderOptions) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;