Fix formatting
This commit is contained in:
parent
6e665b5d24
commit
dbacec64bd
2 changed files with 10 additions and 8 deletions
|
|
@ -451,7 +451,6 @@ async function runTests() {
|
||||||
"tools/list",
|
"tools/list",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
`\n${colors.YELLOW}=== Running Resource-Related Tests ===${colors.NC}`,
|
`\n${colors.YELLOW}=== Running Resource-Related Tests ===${colors.NC}`,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -26,17 +26,21 @@ let FAILED_TESTS = 0;
|
||||||
let SKIPPED_TESTS = 0;
|
let SKIPPED_TESTS = 0;
|
||||||
let TOTAL_TESTS = 0;
|
let TOTAL_TESTS = 0;
|
||||||
|
|
||||||
console.log(
|
console.log(`${colors.YELLOW}=== MCP Inspector CLI Tool Tests ===${colors.NC}`);
|
||||||
`${colors.YELLOW}=== MCP Inspector CLI Tool Tests ===${colors.NC}`,
|
|
||||||
);
|
|
||||||
console.log(
|
console.log(
|
||||||
`${colors.BLUE}This script tests the MCP Inspector CLI's tool-related functionality:${colors.NC}`,
|
`${colors.BLUE}This script tests the MCP Inspector CLI's tool-related functionality:${colors.NC}`,
|
||||||
);
|
);
|
||||||
console.log(`${colors.BLUE}- Tool discovery and listing${colors.NC}`);
|
console.log(`${colors.BLUE}- Tool discovery and listing${colors.NC}`);
|
||||||
console.log(`${colors.BLUE}- JSON argument parsing (strings, numbers, booleans, objects, arrays)${colors.NC}`);
|
console.log(
|
||||||
|
`${colors.BLUE}- JSON argument parsing (strings, numbers, booleans, objects, arrays)${colors.NC}`,
|
||||||
|
);
|
||||||
console.log(`${colors.BLUE}- Tool schema validation${colors.NC}`);
|
console.log(`${colors.BLUE}- Tool schema validation${colors.NC}`);
|
||||||
console.log(`${colors.BLUE}- Tool execution with various argument types${colors.NC}`);
|
console.log(
|
||||||
console.log(`${colors.BLUE}- Error handling for invalid tools and arguments${colors.NC}`);
|
`${colors.BLUE}- Tool execution with various argument types${colors.NC}`,
|
||||||
|
);
|
||||||
|
console.log(
|
||||||
|
`${colors.BLUE}- Error handling for invalid tools and arguments${colors.NC}`,
|
||||||
|
);
|
||||||
console.log(`\n`);
|
console.log(`\n`);
|
||||||
|
|
||||||
// Get directory paths
|
// Get directory paths
|
||||||
|
|
@ -373,7 +377,6 @@ async function runTests() {
|
||||||
'message="null"',
|
'message="null"',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Test 14: Multiple arguments with mixed types (using add tool)
|
// Test 14: Multiple arguments with mixed types (using add tool)
|
||||||
await runBasicTest(
|
await runBasicTest(
|
||||||
"json_args_multiple_mixed",
|
"json_args_multiple_mixed",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue