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:
parent
b6dc2ceeb9
commit
63193ec007
1 changed files with 10 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue