yyqdbngt opened a new pull request, #4072:
URL: https://github.com/apache/rocketmq-dashboard/pull/4072

   Fixes #4022
   
   
   ## Summary
   
   Add a regression test in `web/src/utils/clientConnectionDiagnostics.test.ts` 
covering a single client connection inventory: one producer connection reports 
`totalConnections: 1`, `uniqueClientCount: 1` and exactly one resource summary.
   
   ## Why
   
   The existing suite covered empty, multi-client, partial-scan, 
mixed-protocol/version and unknown-field inventories, but never a minimal 
single-connection inventory, leaving the baseline summary computation in 
`analyzeClientConnections` unprotected.
   
   ## Testing
   
   - `cd web && ./node_modules/.bin/tsc -b tsconfig.app.json` — passes (exit 0)
   - `./node_modules/.bin/vitest run 
src/utils/clientConnectionDiagnostics.test.ts` — all tests green
   - `git diff --check` — clean
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to