- Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Command
generate
Description
The migration from Jasmine to Vitest automatically migrates calls to .toHaveClass() to classList.contains().
But in browser mode, Vitest does have a toHaveClass assertion.
Describe the solution you'd like
It would be nice if the migration had a way of detecting or asking the user if browser mode is/should be used, and to avoid migrating the toHaveClass() assertion if Vitest browser mode is used.
Describe alternatives you've considered
No response
Metadata
Metadata
Assignees
Labels
No labels