Skip to content

Commit 42cba7e

Browse files
committed
Update example for deprecated wait utility
1 parent 01d8e50 commit 42cba7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ rejected. By default, errors are not suppressed for this utility.
227227
_(DEPRECATED, use [`waitFor`](/reference/api#waitfor) instead)_
228228

229229
```js
230-
function waitFor(callback: function(): boolean|void, options?: {
230+
function wait(callback: function(): boolean|void, options?: {
231231
timeout?: number,
232232
suppressErrors?: boolean
233233
}): Promise<void>

0 commit comments

Comments
 (0)