Files
dify/web/app/components
CodingOnStar 53a620b6ce test(mcp): enhance unit tests for MCP components and improve mock handling
- Added beforeEach hooks to reset mock states in  and  for better test isolation.
- Refactored mock data handling in  to streamline test setup.
- Improved error handling in  to gracefully manage JSON parsing errors.
- Updated  to utilize a pending status for optimistic updates, enhancing user experience during state changes.

These changes aim to improve the reliability and maintainability of tests across MCP components.
2026-01-26 14:41:19 +08:00
..