Gazebo_simulation-Frontend/node_modules/@testing-library/jest-dom/extend-expect.d.ts
2020-12-21 10:29:31 -05:00

30 lines
825 B
TypeScript

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
}
}