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
837 B
16 lines
837 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 ByTextOptions = CommonQueryOptions & TextMatchOptions;
|
|
export type ByTextQueries = {
|
|
getByText: GetByQuery<TextMatch, ByTextOptions>;
|
|
getAllByText: GetAllByQuery<TextMatch, ByTextOptions>;
|
|
queryByText: QueryByQuery<TextMatch, ByTextOptions>;
|
|
queryAllByText: QueryAllByQuery<TextMatch, ByTextOptions>;
|
|
findByText: FindByQuery<TextMatch, ByTextOptions>;
|
|
findAllByText: FindAllByQuery<TextMatch, ByTextOptions>;
|
|
};
|
|
export declare const bindByTextQueries: (instance: ReactTestInstance) => ByTextQueries;
|
|
export {};
|