Skip to content

fix: treat vitest and vi the same#851

Merged
veritem merged 1 commit intovitest-dev:mainfrom
G-Rath:treat-vi-and-vitest-the-same
Dec 26, 2025
Merged

fix: treat vitest and vi the same#851
veritem merged 1 commit intovitest-dev:mainfrom
G-Rath:treat-vi-and-vitest-the-same

Conversation

@G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Dec 24, 2025

My understanding is that vitest is a re-export of vi making it exactly the same so I don't think it makes sense to mark it as a different type of vitest function call - I'm guessing it was done like this for consistent-vitest-vi but that can be handled easily by checking the head node.

The only rule I know for sure that this impacts is unbound-method, but there might be a few others

@G-Rath
Copy link
Contributor Author

G-Rath commented Dec 24, 2025

@veritem if you're happy with this direction I'll mark this ready for review, otherwise I'll close it in favor of #852

@veritem
Copy link
Member

veritem commented Dec 26, 2025

@veritem veritem marked this pull request as ready for review December 26, 2025 05:26
@veritem veritem merged commit 48aa682 into vitest-dev:main Dec 26, 2025
5 checks passed
@G-Rath G-Rath deleted the treat-vi-and-vitest-the-same branch December 26, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants