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

   ### Summary
   
   Adds the first unit tests for the `InstanceSelect` instance-scoped selector 
used across the instance pages.
   
   ### Changes
   
   - `web/src/components/InstanceSelect.test.tsx`
     - renders the placeholder and the current value label.
     - notifies the page with the selected option value.
     - falls back to the first option when the selection is cleared.
     - shows the not-found message when no option matches.
   
   ### Testing
   
   - `vitest run src/components/InstanceSelect.test.tsx` passes (4 tests); `tsc 
--noEmit` and `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: [email protected]

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

Reply via email to