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

Sort file alphabetically with vitest --ui #5585

Closed
4 tasks done
zeid0ne opened this issue Apr 22, 2024 · 1 comment
Closed
4 tasks done

Sort file alphabetically with vitest --ui #5585

zeid0ne opened this issue Apr 22, 2024 · 1 comment
Labels
feat: ui Vitest UI p2-nice-to-have Not breaking anything but nice to have (priority)

Comments

@zeid0ne
Copy link

zeid0ne commented Apr 22, 2024

Clear and concise description of the problem

When i run my test with vitest --ui, they are all displayed in a random order.

image

Sometime i want to re run the tests for one file, but if i have a large number of them, it's long to find the line corresponding to the file. If they were sorted alphabetically, i'll could do it faster. I thinks it's also more "beautifull".

Suggested solution

Sort the files alphabetically.

Alternative

Specify file order manually.

Additional context

#5583

Validations

@sheremet-va sheremet-va added feat: ui Vitest UI p2-nice-to-have Not breaking anything but nice to have (priority) and removed enhancement: pending triage labels Apr 22, 2024
@AriPerkkio
Copy link
Member

Fixed by #5652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: ui Vitest UI p2-nice-to-have Not breaking anything but nice to have (priority)
Projects
None yet
Development

No branches or pull requests

3 participants