Skip to content

Commit

Permalink
chore: update doc for waitForValueToChange
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Dec 2, 2020
1 parent 77feeec commit b6a2252
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ function waitForValueToChange(selector: function(): any, options?: {
}): Promise<void>
```

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

#### `interval`

Expand Down

0 comments on commit b6a2252

Please sign in to comment.