We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd6d4c6 commit addebadCopy full SHA for addebad
extend-expect.d.ts
@@ -1,12 +1,12 @@
1
declare namespace jest {
2
interface Matchers<R> {
3
- toBeInTheDOM: (container?: HTMLElement) => R
4
- toBeVisible: () => R
5
- toBeEmpty: () => R
6
- toContainElement: (element: HTMLElement) => R
7
- toHaveAttribute: (attr: string, value?: string) => R
8
- toHaveClass: (className: string) => R
9
- toHaveStyle: (css: string) => R
10
- toHaveTextContent: (text: string) => R
+ toBeInTheDOM(container?: HTMLElement): R
+ toBeVisible(): R
+ toBeEmpty(): R
+ toContainElement(element: HTMLElement): R
+ toHaveAttribute(attr: string, value?: string): R
+ toHaveClass(className: string): R
+ toHaveStyle(css: string): R
+ toHaveTextContent(text: string | RegExp): R
11
}
12
0 commit comments