Skip to content

docs(testing): avoid virtual mocks for real modules - #1692

Merged
lilyshen0722 merged 2 commits into
mainfrom
kai/jest-virtual-mock-docs
Sep 12, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
kai/jest-virtual-mock-docs

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Document the Jest resolver trap fixed in #1691.

  • { virtual: true } on an on-disk module can resolve a different module ID under shared workers and bypass the mock.
  • Documentation-only follow-up from the P0 fix.

@lilyshen0722
lilyshen0722 merged commit f997a63 into main Sep 12, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant