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

   ### Motivation
   
   The client connections API test asserted one fully-populated query and 
nothing else. This PR grows the suite from 1 to 4 cases.
   
   ### Changes
   
   - Optional filters are omitted from the request when not supplied, leaving 
only the required `namesrvAddr`.
   - An empty inventory resolves to an empty array.
   - Partial connection rows (no `clientId`/`address`, `partial: true`) pass 
through unchanged.
   
   ### Verification
   
   - `vitest run src/api/connections.test.ts`: 4/4 passed
   - `tsc --noEmit`: clean
   - `eslint src/api/connections.test.ts`: 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