Skip to content

Print "no tests found" in HTML reporter #7256

@sheremet-va

Description

@sheremet-va

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

Any

Used Package Manager

pnpm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: uiVitest UIp3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions