UNPKG

@ozen-ui/kit

Version:

React component library

9 lines (8 loc) 528 B
import type { ReactElement } from 'react'; import { type RenderResult, type RenderOptions } from '@testing-library/react'; export type RenderFn = (component: ReactElement, options?: RenderOptions) => RenderResult; export type MatchesFn = (component: ReactElement, options?: RenderOptions) => ChildNode | HTMLCollection | null; export declare const render: RenderFn; export declare const renderInAct: (ui: ReactElement, options?: RenderOptions) => Promise<RenderResult>; declare const matches: MatchesFn; export default matches;