vitest
vitest copied to clipboard
Odd message when running watch mode with no match test filter
Describe the bug
It says "exiting" but it doesn't in watch mode. Also new summary reporter's "Duration" keeps increasing :smile:
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-zd2zyx?file=package.json
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 18.20.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
vitest: 2.2.0-beta.2 => 2.2.0-beta.2
Used Package Manager
npm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- [X] The provided reproduction is a minimal reproducible example of the bug.
Is this only on latest 2.2.0 beta releases?
Looks like this has been broken since 2.0.0-beta.13. The 2.0.0-beta.12 and 1.6.0 work fine.
- https://github.com/vitest-dev/vitest/pull/5926