yyqdbngt opened a new pull request, #3480: URL: https://github.com/apache/rocketmq-dashboard/pull/3480
### Summary `isMockMode` reads the runtime data-mode toggle from the persisted Zustand store. It had no direct tests. ### Changes - Returns `true` when the store reports mock mode - Returns `false` when the store reports live mode ### Testing `vitest run src/services/dataMode.test.ts` passes: 2 tests, 0 failures (first coverage for this module). `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]
