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.

16 lines
869 B

import type { ReactTestInstance } from 'react-test-renderer';
import { TextMatch, TextMatchOptions } from '../matches';
import type { FindAllByQuery, FindByQuery, GetAllByQuery, GetByQuery, QueryAllByQuery, QueryByQuery } from './makeQueries';
import type { CommonQueryOptions } from './options';
type ByTestIdOptions = CommonQueryOptions & TextMatchOptions;
export type ByTestIdQueries = {
getByTestId: GetByQuery<TextMatch, ByTestIdOptions>;
getAllByTestId: GetAllByQuery<TextMatch, ByTestIdOptions>;
queryByTestId: QueryByQuery<TextMatch, ByTestIdOptions>;
queryAllByTestId: QueryAllByQuery<TextMatch, ByTestIdOptions>;
findByTestId: FindByQuery<TextMatch, ByTestIdOptions>;
findAllByTestId: FindAllByQuery<TextMatch, ByTestIdOptions>;
};
export declare const bindByTestIdQueries: (instance: ReactTestInstance) => ByTestIdQueries;
export {};