Skip to content

Commit

Permalink
refactor: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjastrzebski committed Sep 26, 2022
1 parent 6cc1514 commit c95df07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extend-expect.d.ts
Expand Up @@ -6,13 +6,14 @@ declare global {
interface Matchers<R, T> {
toBeDisabled(): R;
toContainElement(element: ReactTestInstance | null): R;
/** @deprecated This function has been renamed to `toBeEmptyElement`. */
toBeEmpty(): R;
toBeEmptyElement(): R;
toHaveProp(attr: string, value?: any): R;
toHaveTextContent(text: string | RegExp, options?: { normalizeWhitespace: boolean }): R;
toBeEnabled(): R;
toHaveStyle(style: object[] | object): R;

/** @deprecated This function has been renamed to `toBeEmptyElement`. */
toBeEmpty(): R;
}
}
}

0 comments on commit c95df07

Please sign in to comment.