From 01ff9047a7bfa90098180f35cae823a81b167edf Mon Sep 17 00:00:00 2001 From: JF Date: Tue, 14 Jul 2026 11:50:21 +0300 Subject: [PATCH] fix: make test:e2e:smoke find its files on Windows (#187) Under cmd.exe (pnpm's script shell on Windows) the glob in "vitest run tests/e2e/mcp-server-smoke*.test.ts" is never expanded and vitest treats it as a literal filter matching nothing. Vitest 4 CLI args are substring filters, not globs (a quoted pattern also matches nothing), so use the substring filter tests/e2e/mcp-server-smoke, which needs no shell expansion and matches the same 18 smoke files on every platform. Fixes #187 Co-Authored-By: Claude Fable 5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6d52fa25..4fca3051 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "test:python": "vitest run tests/adapters/python", "posttest:python": "node scripts/cleanup-test-processes.js", "pretest:e2e:smoke": "pnpm run build", - "test:e2e:smoke": "vitest run tests/e2e/mcp-server-smoke*.test.ts", + "test:e2e:smoke": "vitest run tests/e2e/mcp-server-smoke", "test:e2e:container": "docker build --no-cache -t mcp-debugger:local . && vitest run tests/e2e/docker/", "pretest:e2e:npx": "pnpm run build", "test:e2e:npx": "vitest run tests/e2e/npx",