btlqql opened a new issue, #4010:
URL: https://github.com/apache/rocketmq-dashboard/issues/4010

   ## Problem
   web/src/config.ts exports USE_MOCK for backward compatibility, but the 
existing test only covers API_BASE_URL. The deprecated flag is not protected by 
a regression test, so it could be accidentally flipped and reintroduce the 
legacy mock-data code path.
   
   ## Expected behavior
   - USE_MOCK remains alse for the current Studio runtime.
   - A focused Vitest case fails if the flag is changed.
   
   ## Scope
   Only add regression coverage for web/src/config.test.ts. No runtime code 
changes.
   
   ## Acceptance criteria
   - [ ] A Vitest assertion verifies USE_MOCK === false.
   - [ ] The targeted test file passes.


-- 
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