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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: CLI to automate import from "@jest/globals" #14767

Closed
douglasjunior opened this issue Dec 20, 2023 · 7 comments
Closed

[Feature]: CLI to automate import from "@jest/globals" #14767

douglasjunior opened this issue Dec 20, 2023 · 7 comments

Comments

@douglasjunior
Copy link

馃殌 Feature Proposal

It would be nice to have some helper to automate the migration from v28 to v29, mainly to add import {} from '@jest/globals' explicitly on +500 files per project.

Motivation

Changing +500 files on 4 projects manually it's a pain that would be great to avoid.

Example

No response

Pitch

My suggestion is to provide some CLI or external tool to help in the migration process.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Jan 19, 2024
@douglasjunior
Copy link
Author

This is a feature request.

@github-actions github-actions bot removed the Stale label Jan 20, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Feb 19, 2024
@douglasjunior
Copy link
Author

This is a feature request.

@github-actions github-actions bot removed the Stale label Feb 19, 2024
@douglasjunior
Copy link
Author

Finally I found a solution, thanks to the awesome tool @getgrit!

getgrit/gritql#28

@douglasjunior douglasjunior changed the title [Feature]: CLI to automate migration from v28 to v29 [Feature]: CLI to automate import from "@jest/globals" Mar 17, 2024
@SimenB
Copy link
Member

SimenB commented Mar 17, 2024

also jest-community/eslint-plugin-jest#1490

Copy link

This issue 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 Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants