Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
mockRejectedValueOnce -> mockResolveValueOnce
Changed the duplicated mockRejectedValueOnce to mockResolveValueOnce
  • Loading branch information
johnslay authored Jan 23, 2018
commit b7e276722626969e8d3cb4e6af2a736750592e04
2 changes: 1 addition & 1 deletion docs/MockFunctionAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ test('async test', async () => {
});
```

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

Simple sugar function for:

Expand Down