Skip to content

Commit

Permalink
mockRejectedValueOnce -> mockResolveValueOnce (#5373)
Browse files Browse the repository at this point in the history
* mockRejectedValueOnce -> mockResolveValueOnce

Changed the duplicated mockRejectedValueOnce to mockResolveValueOnce

* For got the letter 'd'
  • Loading branch information
johnslay authored and SimenB committed Jan 24, 2018
1 parent c8de0c8 commit 79086ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/MockFunctionAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ test('async test', async () => {
});
```

### `mockFn.mockRejectedValueOnce(value)`
### `mockFn.mockResolvedValueOnce(value)`

Simple sugar function for:

Expand Down

0 comments on commit 79086ee

Please sign in to comment.