You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 03:15:26 UTC

[PR] test(api): cover tencent cloud catalog endpoints [rocketmq-dashboard]

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

   ## Summary
   
   Adds `tencentCatalog.test.ts`, first unit tests for the Tencent Cloud catalog API module, mirroring the existing `aliyunCatalog.test.ts` style with an axios mock adapter.
   
   Coverage:
   - `listTencentRegions` fetches regions for a credential and returns the decoded payload;
   - `listTencentInstances` requests with the credential and region params;
   - the optional `search` term is sent only when provided (omitted from the request params otherwise).
   
   ## Why
   
   The Tencent catalog module drives the cloud instance picker for the Tencent vendor type; it had no test while its Aliyun sibling did.
   
   ## Testing
   
   `vitest run src/api/tencentCatalog.test.ts` — 3/3 pass; `tsc --noEmit` clean; `eslint` 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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(api): cover tencent cloud catalog endpoints [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3258: test(api): cover tencent cloud catalog endpoints
URL: https://github.com/apache/rocketmq-dashboard/pull/3258


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org