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
912 B
16 lines
912 B
import type { ReactTestInstance } from 'react-test-renderer';
|
|
import { TextMatch, TextMatchOptions } from '../matches';
|
|
import type { FindAllByQuery, FindByQuery, GetAllByQuery, GetByQuery, QueryAllByQuery, QueryByQuery } from './makeQueries';
|
|
import { CommonQueryOptions } from './options';
|
|
type ByLabelTextOptions = CommonQueryOptions & TextMatchOptions;
|
|
export type ByLabelTextQueries = {
|
|
getByLabelText: GetByQuery<TextMatch, ByLabelTextOptions>;
|
|
getAllByLabelText: GetAllByQuery<TextMatch, ByLabelTextOptions>;
|
|
queryByLabelText: QueryByQuery<TextMatch, ByLabelTextOptions>;
|
|
queryAllByLabelText: QueryAllByQuery<TextMatch, ByLabelTextOptions>;
|
|
findByLabelText: FindByQuery<TextMatch, ByLabelTextOptions>;
|
|
findAllByLabelText: FindAllByQuery<TextMatch, ByLabelTextOptions>;
|
|
};
|
|
export declare const bindByLabelTextQueries: (instance: ReactTestInstance) => ByLabelTextQueries;
|
|
export {};
|