-
Notifications
You must be signed in to change notification settings - Fork 622
Lint fix hoist jest mock #5181
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
base: main
Are you sure you want to change the base?
Lint fix hoist jest mock #5181
Conversation
@himanshusoni please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
This pull request includes significant updates to the
eslint/eslint-plugin
package, focusing on enhancing thehoist-jest-mock
rule. The key changes involve adding fixable capabilities to the rule, improving the handling of Jest mock calls within factory functions, and updating the test cases to reflect these enhancements.Enhancements to
hoist-jest-mock
rule:Updates to test cases:
Script updates:
test:file
to thepackage.json
for running specific test files.Summary
Details
How it was tested
Impacted documentation