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

fix: properly return mocks when using jest.isolatedModules #11882

merged 2 commits into from Sep 17, 2021


Copy link

@SimenB SimenB commented Sep 16, 2021


Fixes #11873

Test plan

E2E test added

@SimenB SimenB merged commit 651eb37 into facebook:main Sep 17, 2021
29 of 30 checks passed
@SimenB SimenB deleted the isolate-modules-fix branch Sep 17, 2021
AndrewSouthpaw added a commit to AndrewSouthpaw/jest that referenced this issue Sep 23, 2021

* 'main' of (38 commits)
  chore: update `npm` instructions in README (facebook#11890)
  chore: force patched version of ansi-regex (facebook#11889)
  chore: update lockfile after publish
  chore: update changelog for release
  make the syntax error message more helpful for TS users (facebook#11807)
  fix: include path to test file in "after teardown" error (facebook#11885)
  docs: add link to the typescript integration instructions (facebook#11806)
  fix: properly return mocks when using jest.isolatedModules (facebook#11882)
  chore: remove node version pinning from CI (facebook#11866)
  chore: remove node 13 as condition in some tests (facebook#11880)
  chore: fix typo in docs
  chore: update lockfile after publish
  chore: roll new website version
  chore: update changelog for release
  chore: update lock
  feat: support `conditions` from test environments (facebook#11863)
  Revert "chore: remove unneeded yarn patch for react native (facebook#11853)"
  chore: supress experimental warnings in tests
Copy link

@github-actions github-actions bot commented Oct 18, 2021

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 Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants