-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Description
Describe the bug
The CLI reports:
close timed out after 10000ms
Tests closed successfully but something prevents Vite server from exiting
You can try to identify the cause by enabling "hanging-process" reporter. See https://vitest.dev/config/#reporters
But nowadays the link would be https://vitest.dev/guide/reporters.html#hanging-process-reporter
Reproduction
Create a hanging test.
Run through termina/console/cli
see outdated link
System Info
System:
OS: macOS 15.7.3
CPU: (14) arm64 Apple M3 Max
Memory: 434.14 MB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.9.0 - /user/path/.volta/tools/image/node/22.9.0/bin/node
Yarn: 1.22.22 - /user/path/.volta/tools/image/yarn/1.22.22/bin/yarn
npm: 10.8.3 - /user/path/.volta/tools/image/node/22.9.0/bin/npm
pnpm: 10.10.0 - /user/path/.volta/bin/pnpm
bun: 1.2.11 - /user/path/.volta/bin/bun
Browsers:
Chrome: 144.0.7559.133
Safari: 26.2
Zen: 1.18.5b (Firefox 147.0.3) (aarch64)
npmPackages:
vite: ^6.2.7 => 6.3.6
vitest: ^3.2.4 => 3.2.4Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable