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

   ### Summary
   
   `getDashboard` serves defensive copies of the bundled demo dashboard in mock 
mode and otherwise delegates to the metrics API. The suite only exercised the 
mock path.
   
   ### Changes
   
   - Mock mode never touches the metrics API
   - With mock mode off, the selected instance is forwarded to 
`metricsApi.getDashboard`
   - Without an instance, the API is called with `undefined`
   
   ### Testing
   
   `vitest run src/services/dashboardService.test.ts` passes: 3 tests, 0 
failures (up from 1). `tsc --noEmit` and `eslint` are 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