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

Expose restoreAllMocks to object #4463

Merged
merged 1 commit into from
Sep 12, 2017

Conversation

thymikee
Copy link
Collaborator

Summary

Apparently restoreAllMocks was not exposed to jest object.
Fixes #4436

Test plan

Flow

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@9c429cd). Click here to learn what that means.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #4463   +/-   ##
=========================================
  Coverage          ?   56.73%           
=========================================
  Files             ?      189           
  Lines             ?     6488           
  Branches          ?        3           
=========================================
  Hits              ?     3681           
  Misses            ?     2806           
  Partials          ?        1
Impacted Files Coverage Δ
packages/jest-runtime/src/index.js 85.09% <33.33%> (ø)

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 9c429cd...a9d08d8. Read the comment docs.

@cpojer cpojer merged commit 213634d into jestjs:master Sep 12, 2017
@cpojer
Copy link
Member

cpojer commented Sep 12, 2017

I think @aaronabramov lost this one :D

tabrindle pushed a commit to tabrindle/jest that referenced this pull request Oct 2, 2017
@thymikee thymikee deleted the feat/expose-restoreAllMocks branch March 16, 2019 10:56
@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 11, 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.

jest.restoreAllMocks is not a function
4 participants