Skip to content

Conversation

@y-hsgw
Copy link
Contributor

@y-hsgw y-hsgw commented Nov 24, 2025

Fixes the consistent-test-it fixer so it no longer drops aliased imports when removing the disallowed test keyword.

❌ Incorrect transformation

import { describe, it as baseIt, test } from "vitest";

was transformed into:

import { describe, baseIt } from "vitest";

✅ Correct transformation

import { describe, it as baseIt } from "vitest";

Copy link
Member

@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.

thanks

@veritem veritem merged commit 54be66e into vitest-dev:main Nov 24, 2025
5 checks passed
@y-hsgw y-hsgw deleted the fix/consistent-test-it branch November 24, 2025 09:23
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