-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Mark deprecated methods as
@deprecated
(#771)
- Loading branch information
1 parent
3154dc4
commit 68f8f81
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import { waitForOptions } from "./wait-for"; | ||
|
||
/** | ||
* @deprecated `waitForDomChange` has been deprecated. | ||
* Use `waitFor` instead: https://testing-library.com/docs/dom-testing-library/api-async#waitfor. | ||
*/ | ||
export function waitForDomChange(options?: waitForOptions): Promise<any>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
import { waitForOptions } from "./wait-for"; | ||
|
||
/** | ||
* @deprecated `waitForElement` has been deprecated. | ||
* Use a `find*` query (preferred: https://testing-library.com/docs/dom-testing-library/api-queries#findby) | ||
* or use `waitFor` instead: https://testing-library.com/docs/dom-testing-library/api-async#waitfor | ||
*/ | ||
export function waitForElement<T>(callback: () => T, options?: waitForOptions): Promise<T>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters