btlqql opened a new pull request, #4011: URL: https://github.com/apache/rocketmq-dashboard/pull/4011
## Summary Add a focused Vitest regression case that locks USE_MOCK to alse in web/src/config.ts. ## Root cause The deprecated static mock flag had no regression coverage, so a future change could re-enable the legacy mock path without a failing test. ## Changes - Import and assert USE_MOCK in web/src/config.test.ts. ## Testing Commands run: - cd web - px vitest run src/config.test.ts - cd .. - git diff --check Actual results: - Vitest: Test Files 1 passed (1), Tests 4 passed (4). - git diff --check: no output, exit code 0. I did not run the full Maven/Java server suite on this Windows host because Maven is not installed and the server targets Java 21 while only Java 17 is available. This PR changes web test code only. Fixes #4010 Assisted-by: OpenAI:Codex (GPT-5) Percentage of AI-generated code: 100 -- 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]
