-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Faulty codemod
filed on behalf of @Stanzilla
It looks like the migration does not check for existing imports of vitest before adding new ones, means if you are in the middle of a partial migration it keeps adding new imports at the top of every file
https://github.com/codemod-com/commons/tree/main/codemods/jest/vitest
Estimated impact
Numbers about your specific codemod run:
- Total number of files/instances transformed: X
- Number of files/instances missed by the codemod (FN): X
- Number of files/instances mistakenly transformed (FP): X
Anything else that helps the community prioritize, e.g.:
- I still need this fix for my current or upcoming migration.
OR - I manually fixed my issue, but I'm reporting this for other community members.
ert the contents of a log file generated by the codemod run here.
Additional context
Add any other context about the problem here. This might include the target project, an explanation of the faulty output related to business logic, relevant links, etc.
DanielBoxer