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.

30 lines
825 B

4 years ago
declare namespace jest {
interface Matchers<R, T> {
/**
* @deprecated
*/
toBeInTheDOM(container?: HTMLElement | SVGElement): R
toBeInTheDocument(): R
toBeVisible(): R
toBeEmpty(): R
toBeDisabled(): R
toBeEnabled(): R
toBeInvalid(): R
toBeRequired(): R
toBeValid(): R
toContainElement(element: HTMLElement | SVGElement | null): R
toContainHTML(htmlText: string): R
toHaveAttribute(attr: string, value?: any): R
toHaveClass(...classNames: string[]): R
toHaveFocus(): R
toHaveFormValues(expectedValues: {[name: string]: any}): R
toHaveStyle(css: string): R
toHaveTextContent(
text: string | RegExp,
options?: {normalizeWhitespace: boolean},
): R
toHaveValue(value?: string | string[] | number): R
toBeChecked(): R
}
}