Clean up CLI tests and add config parsing tests

- Remove web client launch tests from CLI test suite
- Add CLI-mode tests for SSE and streamable-http configs
- Keep only tests that use --cli flag as intended
This commit is contained in:
Felix Weinberger 2025-08-05 13:31:40 +01:00
commit 63193ec007
No known key found for this signature in database

View file

@ -744,26 +744,28 @@ async function runTests() {
"tools/list",
);
// Test 26: Config with SSE transport type (should pass transport to client)
// Test 26: Config with SSE transport type (CLI mode)
await runBasicTest(
"config_sse_type",
"config_sse_type_cli",
"--config",
sseConfigPath,
"--server",
"test-sse",
"echo",
"test",
"--cli",
"--method",
"tools/list",
);
// Test 27: Config with streamable-http transport type
// Test 27: Config with streamable-http transport type (CLI mode)
await runBasicTest(
"config_http_type",
"config_http_type_cli",
"--config",
httpConfigPath,
"--server",
"test-http",
"echo",
"test",
"--cli",
"--method",
"tools/list",
);
// Test 28: Legacy config without type field (backward compatibility)