Skip to content

Conversation

@mrazauskas
Copy link
Contributor

Summary

Similar to #13253. Type arguments could be passed to jest.mock and jest.doMock as well. This helps to keep the module factory typed.

Test plan

Type tests are added.

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SimenB SimenB merged commit 88d1a7e into jestjs:main Sep 13, 2022
@mrazauskas mrazauskas deleted the feat-mock-type-arg branch September 13, 2022 06:56
@SimenB
Copy link
Member

SimenB commented Sep 28, 2022

@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 Oct 30, 2022
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.

3 participants