Skip to content

Commit

Permalink
Remove duplicate doc entry (#7297)
Browse files Browse the repository at this point in the history
  • Loading branch information
spkjess authored and SimenB committed Oct 30, 2018
1 parent 714cb51 commit 5cdfc22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
- `[*]` [**BREAKING**] Require Node.js 6+ for all packages ([#7258](https://github.com/facebook/jest/pull/7258))
- `[docs]` Add correct default value for `testUrl` config option ([#7277](https://github.com/facebook/jest/pull/7277))
- `[jest-util]` [**BREAKING**] Remove long-deprecated globals for fake timers ([#7285](https://github.com/facebook/jest/pull/7285))
- `[docs]` Remove duplicate code in `MockFunctions` ([#7297](https://github.com/facebook/jest/pull/7297))

### Performance

Expand Down
3 changes: 0 additions & 3 deletions docs/MockFunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ Still, there are cases where it's useful to go beyond the ability to specify ret
```javascript
const myMockFn = jest.fn(cb => cb(null, true));

myMockFn((err, val) => console.log(val));
// > true

myMockFn((err, val) => console.log(val));
// > true
```
Expand Down

0 comments on commit 5cdfc22

Please sign in to comment.