Skip to content

Dot reporter minor visual bug in Vitest 4 #9681

@Akarey

Description

@Akarey

Describe the bug

When all tests pass, instead of displaying all green dots in the end, some (at least one) dots remain yellow, as if pending. It's only a visual bug, all the tests have actually ran. It's a regression from Vitest 3

Image

Reproduction

https://stackblitz.com/edit/vitest-dev-vitest-b6ubd6qx?file=vite.config.ts&initialPath=__vitest__/

System Info

System:
    OS: macOS 26.3
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 22.67 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.13.1 - /Users/Jaroslav/.nvm/versions/node/v24.13.1/bin/node
    npm: 11.8.0 - /Users/Jaroslav/.nvm/versions/node/v24.13.1/bin/npm
    bun: 1.3.1 - /Users/Jaroslav/.bun/bin/bun
  Browsers:
    Chrome: 144.0.7559.133
    Firefox: 147.0.3
    Safari: 26.3
  npmPackages:
    @vitejs/plugin-react: ^5.1.4 => 5.1.4 
    @vitest/coverage-v8: ^4.0.18 => 4.0.18 
    vite: ^7.3.1 => 7.3.1 
    vitest: ^4.0.18 => 4.0.18

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: reportersIssues and PRs related to Vitest reportersp3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions