inspector/client/src/components/__tests__
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Basil Hosmer cf1fb61de4
test: Add comprehensive tests for structured output validation
Added extensive test coverage for the new structured output features:

Schema Utilities Tests:
- Tests for cacheToolOutputSchemas function
- Tests for validateToolOutput with various scenarios
- Tests for getToolOutputValidator and hasOutputSchema helpers
- Coverage for valid/invalid schemas and edge cases
- Tests for nested object validation

ToolsTab Component Tests:
- Tests for output schema display and expand/collapse functionality
- Tests for structured content validation display
- Tests for validation error messages
- Tests for unstructured content title logic
- Tests for compatibility checking between structured/unstructured content
- Tests ensuring compatibility check only runs with output schemas

All tests passing with 100% coverage of new functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-28 15:24:40 -04:00
..
AuthDebugger.test.tsx [auth debugger] Make the quick flow use the same state machine as the step-by-step flow (#426) 2025-05-27 11:36:19 +01:00
DynamicJsonForm.test.tsx Merge remote-tracking branch 'theirs/main' into max/default-tool-json 2025-04-11 15:36:25 -07:00
samplingRequest.test.tsx Merge branch 'main' into sampling-form 2025-04-15 21:54:04 -04:00
samplingTab.test.tsx create sampling response form 2025-04-05 18:36:57 -04:00
Sidebar.test.tsx rework naming 2025-05-20 19:51:48 +01:00
ToolsTab.test.tsx test: Add comprehensive tests for structured output validation 2025-05-28 15:24:40 -04:00