What happened
On Windows (PowerShell/cmd), pnpm run test:e2e:smoke fails with:
Running tests with seed "..."
No test files found, exiting with code 1
ELIFECYCLE Command failed with exit code 1.
The script is vitest run tests/e2e/mcp-server-smoke*.test.ts (package.json). Under cmd.exe (pnpm's default script shell on Windows) the * is never glob-expanded, and vitest treats the argument as a literal file filter that matches nothing. Under bash the shell expands it and everything works — which is why CI (ubuntu) and Git Bash users never see this.
Also note: the glob mcp-server-smoke*.test.ts names a bare tests/e2e/mcp-server-smoke.test.ts that does not exist; all smoke files have language/transport suffixes. Harmless with shell expansion, but worth tidying while fixing.
Repro
pnpm run test:e2e:smoke # from PowerShell on Windows
Suggested fix
Quote the pattern so vitest's own glob handling (tinyglobby) does the expansion consistently on every platform, e.g.
"test:e2e:smoke": "vitest run \"tests/e2e/mcp-server-smoke*.test.ts\""
or switch to a directory/regex filter that needs no shell expansion.
Found while verifying #183 (PR #185) on a Windows dev box — pre-existing, unrelated to that change.
🤖 Generated with Claude Code
What happened
On Windows (PowerShell/cmd),
pnpm run test:e2e:smokefails with:The script is
vitest run tests/e2e/mcp-server-smoke*.test.ts(package.json). Under cmd.exe (pnpm's default script shell on Windows) the*is never glob-expanded, and vitest treats the argument as a literal file filter that matches nothing. Under bash the shell expands it and everything works — which is why CI (ubuntu) and Git Bash users never see this.Also note: the glob
mcp-server-smoke*.test.tsnames a baretests/e2e/mcp-server-smoke.test.tsthat does not exist; all smoke files have language/transport suffixes. Harmless with shell expansion, but worth tidying while fixing.Repro
pnpm run test:e2e:smoke # from PowerShell on WindowsSuggested fix
Quote the pattern so vitest's own glob handling (tinyglobby) does the expansion consistently on every platform, e.g.
or switch to a directory/regex filter that needs no shell expansion.
Found while verifying #183 (PR #185) on a Windows dev box — pre-existing, unrelated to that change.
🤖 Generated with Claude Code