Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(restoreAllMocks): available in Jest 21.1.0+ #4522

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

ikatyang
Copy link
Contributor

Summary

The restoreAllMocks function was added in v20.1.0 but exposed in v21.1.0, i.e. people will get jest.restoreAllMocks is not a function error before v21.1.0, the actual available version should be v21.1.0+.

CHANGLOG v21.1.0: Expose restoreAllMocks to object (#4463)

Test plan

docs only

@codecov-io
Copy link

Codecov Report

Merging #4522 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4522   +/-   ##
=======================================
  Coverage   56.82%   56.82%           
=======================================
  Files         186      186           
  Lines        6304     6304           
  Branches        3        3           
=======================================
  Hits         3582     3582           
  Misses       2721     2721           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d706f20...7e26fe3. Read the comment docs.

@cpojer cpojer merged commit 7754a77 into jestjs:master Sep 21, 2017
@cpojer
Copy link
Member

cpojer commented Sep 21, 2017

Thanks!

@ikatyang ikatyang deleted the docs/restoreAllMocks branch September 21, 2017 09:49
tabrindle pushed a commit to tabrindle/jest that referenced this pull request Oct 2, 2017
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants