You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
595 B

import type { ReactTestInstance } from 'react-test-renderer';
export type UnsafeByPropsQueries = {
UNSAFE_getByProps: (props: {
[key: string]: any;
}) => ReactTestInstance;
UNSAFE_getAllByProps: (props: {
[key: string]: any;
}) => Array<ReactTestInstance>;
UNSAFE_queryByProps: (props: {
[key: string]: any;
}) => ReactTestInstance | null;
UNSAFE_queryAllByProps: (props: {
[key: string]: any;
}) => Array<ReactTestInstance>;
};
export declare const bindUnsafeByPropsQueries: (instance: ReactTestInstance) => UnsafeByPropsQueries;