-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
refactor!: remove deprecated jest.genMockFromModule()
#15042
Conversation
✅ Deploy Preview for jestjs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -231,28 +231,6 @@ describe('dependencyExtractor', () => { | |||
); | |||
}); | |||
|
|||
it('should extract dependencies from `jest.genMockFromModule` calls', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical jest.createMockFromModule
test lives just under this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
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. |
Summary
This PR removes deprecated
jest.genMockFromModule()
, which was replaced withjest.createMockFromModule()
in Jest 26 (see: #9962).Test plan
Green CI.