Feat/init project#4
Conversation
…up-node action version
… update API call parameters
…eference in API client
…pdated SonarQube scan action
…ketClient tests with new connection handling scenarios
…gurations, and update coverage report settings
- Add URL normalization utility to ensure consistent trailing slashes - Simplify 401 error handling and redirect logic - Prevent duplicate WebSocket connections during CONNECTING state - Update test mocking approach for location object - Set default API URL in environment example
Review Summary by QodoInitialize project with API clients, tests, and Clean Architecture setup WalkthroughsDescription• Add HTTP and WebSocket API clients with comprehensive test coverage • Implement URL normalization and improved error handling for API requests • Configure Vitest with jsdom environment and coverage reporting • Establish project structure with Clean Architecture and documentation Diagramflowchart LR
A["API Layer<br/>client.ts<br/>ws.client.ts"] -- "HTTP/WebSocket" --> B["API Clients<br/>with Error Handling"]
C["Test Suite<br/>client.test.ts<br/>ws.client.test.ts"] -- "validates" --> B
D["Configuration<br/>vitest.config.ts<br/>tsconfig.json"] -- "enables" --> C
E["Project Structure<br/>Clean Architecture<br/>Documentation"] -- "organizes" --> A
F["CI/CD Pipeline<br/>GitHub Actions<br/>SonarCloud"] -- "validates" --> B
File Changes1. src/architecture/api/client.ts
|
Code Review by Qodo
1. Reconnect state not reset
|
nothing change, just update
developwith main code