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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(consistent-test-it): rewrite import statement as well #274

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

antfu
Copy link
Contributor

@antfu antfu commented Oct 19, 2023

When using explicit import from vitest, rewriting only test() to it() will cause the test not found error, and requires manually updating the imported named. This PR make it auto-fix as well.

Copy link
Owner

@veritem veritem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank so much anthony! big fun of your work!!!!

@veritem veritem merged commit 014bd70 into veritem:main Oct 19, 2023
@antfu antfu deleted the feat/consistent-test-it branch October 19, 2023 19:52
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.

None yet

2 participants