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

   ### Motivation
   
   The Aliyun catalog API tests checked the success payloads but never verified 
the request params, the optional search term, or empty-list responses. This PR 
grows the suite from 2 to 5 cases.
   
   ### Changes
   
   - `listAliyunRegions` sends `credentialId` as the only query param.
   - `listAliyunInstances` omits `search` entirely when none is given and 
forwards it when supplied.
   - Empty region and instance lists resolve to empty arrays.
   
   ### Verification
   
   - `vitest run src/api/aliyunCatalog.test.ts`: 5/5 passed
   - `tsc --noEmit`: clean
   - `eslint src/api/aliyunCatalog.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