Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b6a2252

Browse files
chore: update doc for waitForValueToChange
1 parent 77feeec commit b6a2252

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎docs/api-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ function waitForValueToChange(selector: function(): any, options?: {
236236
}): Promise<void>
237237
```
238238

239-
Returns a `Promise` that resolves if the value returned from the provided selector changes. It
240-
expected that the [`result` of `renderHook`](/reference/api#result) to select the value for
241-
comparison.
239+
Returns a `Promise` that resolves if the value returned from the provided selector changes. It is
240+
expected that the [`result` of `renderHook`](/reference/api#result) will be used to select the
241+
value for comparison.
242242

243243
#### `interval`
244244

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /