-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Print "no tests found" in HTML reporter #7256
Comments
@sheremet-va Just to understand, here the intention would be to remove the counters by inserting a message ? Would you need to keep the sidebar ? |
@DevJoaoLopes We probably don't have to remove anything as long it's clear that Vitest is finished by not finding any test. Note that current UI is indicating something is on-going by moving the top border. |
@hi-ogawa I understood, so in the case just removing the top edge indication and adding the "No test found" message below the counters would solve the problem? |
@DevJoaoLopes Probably that works. Exact UI can be fleshed out later and starting with something minimal should help the review process. |
There is already code for displaying errors. We just need to display this one |
@sheremet-va @hi-ogawa Behavior implemented in #7366 , can you take a look ? |
Describe the bug
This is a follow up issue to #7246
If there are no tests, HTML reporter is generated, but it looks "stuck" (border move like it's awaiting something).
We need to print "no tests found" instead.
Reproduction
https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/basic?initialPath=__vitest__/
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: