Commit cbea897
committed
feat(tests): enhance MCPClient tests with additional scenarios and validations
- Added tests for backward compatibility with string URLs and serverUrl alias in MCPClient.
- Included tests for request method, error handling, and retry logic in MCPClient.
- Expanded fetch functions tests (fetchCalendarEvents, fetchCommitteeReports, fetchPropositions, etc.) to cover optional parameters and response validation.
- Introduced tests for new utility functions: generate-news-indexes and generate-sitemap, ensuring proper functionality and XML validation.
- Removed outdated verify_implementation.sh script.
- Updated vitest.config.js to exclude non-testable scripts from coverage.1 parent 323de18 commit cbea897
File tree
32 files changed
+1798
-4853
lines changed- js
- scripts
- tests
32 files changed
+1798
-4853
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments