File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
import { waitForOptions } from "./wait-for" ;
2
2
3
+ /**
4
+ * @deprecated `waitForDomChange` has been deprecated.
5
+ * Use `waitFor` instead: https://testing-library.com/docs/dom-testing-library/api-async#waitfor.
6
+ */
3
7
export function waitForDomChange ( options ?: waitForOptions ) : Promise < any > ;
Original file line number Diff line number Diff line change 1
1
import { waitForOptions } from "./wait-for" ;
2
2
3
+ /**
4
+ * @deprecated `waitForElement` has been deprecated.
5
+ * Use a `find*` query (preferred: https://testing-library.com/docs/dom-testing-library/api-queries#findby)
6
+ * or use `waitFor` instead: https://testing-library.com/docs/dom-testing-library/api-async#waitfor
7
+ */
3
8
export function waitForElement < T > ( callback : ( ) => T , options ?: waitForOptions ) : Promise < T > ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @deprecated `wait` has been deprecated and replaced by `waitFor` instead.
3
+ * In most cases you should be able to find/replace `wait` with `waitFor`.
4
+ * Learn more: https://testing-library.com/docs/dom-testing-library/api-async#waitfor.
5
+ */
1
6
export function wait (
2
7
callback ?: ( ) => void ,
3
8
options ?: {
You can’t perform that action at this time.
0 commit comments