-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Describe the bug
Script:
"test": "export NODE_ENV=test PORT=4433&& vitest",
At the end of the run, it waits for user input:
press h to show help, press q to quit
This doesn't work well in CI/CD.
Reproduction
"test": "export NODE_ENV=test PORT=4433&& vitest",
$ n run test
System Info
System:
OS: Linux 6.17 Ubuntu 25.10 25.10 (Questing Quokka)
CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz
Memory: 39.03 GB / 68.13 GB
Container: Yes
Shell: 5.2.37 - /bin/bash
Binaries:
Node: 25.2.1 - /usr/local/bin/node
Yarn: 1.22.19 - /home/khteh/.yarn/bin/yarn
npm: 11.7.0 - /usr/local/bin/npm
pnpm: 8.7.6 - /usr/local/bin/pnpm
Browsers:
Chrome: 143.0.7499.169
Firefox: 146.0.1
Firefox Developer Edition: 146.0.1
npmPackages:
@vitest/coverage-v8: ^4.0.15 => 4.0.15
vitest: ^4.0.15 => 4.0.15Used 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.