Skip to content

Commit 79086ee

Browse files
johnslaySimenB
authored andcommitted
mockRejectedValueOnce -> mockResolveValueOnce (#5373)
* mockRejectedValueOnce -> mockResolveValueOnce Changed the duplicated mockRejectedValueOnce to mockResolveValueOnce * For got the letter 'd'
1 parent c8de0c8 commit 79086ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/MockFunctionAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ test('async test', async () => {
261261
});
262262
```
263263

264-
### `mockFn.mockRejectedValueOnce(value)`
264+
### `mockFn.mockResolvedValueOnce(value)`
265265

266266
Simple sugar function for:
267267

0 commit comments

Comments
 (0)