Skip to content

Commit c509065

Browse files
committed
Fix cli-tests: add missing null expectedBehavior parameter to test calls
1 parent 33ebd07 commit c509065

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cli/scripts/cli-tests.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ async function runTests() {
908908
// Test 25: Config with stdio transport type
909909
await runBasicTest(
910910
"config_stdio_type",
911+
null,
911912
"--config",
912913
stdioConfigPath,
913914
"--server",
@@ -920,6 +921,7 @@ async function runTests() {
920921
// Test 26: Config with SSE transport type (CLI mode) - expects connection error
921922
await runErrorTest(
922923
"config_sse_type_cli",
924+
null,
923925
"--config",
924926
sseConfigPath,
925927
"--server",
@@ -932,6 +934,7 @@ async function runTests() {
932934
// Test 27: Config with streamable-http transport type (CLI mode) - expects connection error
933935
await runErrorTest(
934936
"config_http_type_cli",
937+
null,
935938
"--config",
936939
httpConfigPath,
937940
"--server",
@@ -944,6 +947,7 @@ async function runTests() {
944947
// Test 28: Legacy config without type field (backward compatibility)
945948
await runBasicTest(
946949
"config_legacy_no_type",
950+
null,
947951
"--config",
948952
legacyConfigPath,
949953
"--server",
@@ -1028,6 +1032,7 @@ async function runTests() {
10281032
// Test 29: Config with single server auto-selection
10291033
await runBasicTest(
10301034
"single_server_auto_select",
1035+
null,
10311036
"--config",
10321037
singleServerConfigPath,
10331038
"--cli",
@@ -1038,6 +1043,7 @@ async function runTests() {
10381043
// Test 30: Config with default-server should now require explicit selection (multiple servers)
10391044
await runErrorTest(
10401045
"default_server_requires_explicit_selection",
1046+
null,
10411047
"--config",
10421048
defaultServerConfigPath,
10431049
"--cli",
@@ -1048,6 +1054,7 @@ async function runTests() {
10481054
// Test 31: Config with multiple servers and no default (should fail)
10491055
await runErrorTest(
10501056
"multi_server_no_default",
1057+
null,
10511058
"--config",
10521059
multiServerConfigPath,
10531060
"--cli",

0 commit comments

Comments
 (0)