You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Vitest in a monorepo that has a lot of packages and a lot of tests. I'm using the Vitest extension with VSCode's test explorer. When I try to "run all" the tests just all spin endlessly or are marked as "not yet running". An examination of the logs reveals that it is basically passing a command line with the path to every test file, and when that command line is too long it just exits with code 1 and spins endlessly.
Discover tests and choose "Run All" from the test explorer
Go to Output tab for Vitest. You should see (or at least I do!) a trace that ends with...
[INFO 11:01:55 AM] [RUN.cwd] C:/repos/typespec-azure
[Error 11:01:55 AM] Process exited with code 1
[INFO 11:01:55 AM] WS Close
[INFO 11:01:55 AM] The command line is too long.
[INFO 11:01:55 AM] The command line is too long.
Describe the bug
I'm running Vitest in a monorepo that has a lot of packages and a lot of tests. I'm using the Vitest extension with VSCode's test explorer. When I try to "run all" the tests just all spin endlessly or are marked as "not yet running". An examination of the logs reveals that it is basically passing a command line with the path to every test file, and when that command line is too long it just exits with code 1 and spins endlessly.
Reproduction
pnpm install
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: