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

   ## Problem
   The current test suite does not cover reserved message property detection.
   
   ## Expected behavior
   - A focused Vitest case locks the existing behavior.
   - The targeted test file passes and fails if the covered behavior regresses.
   
   ## Scope
   Only add regression coverage for $(@{Slug=reserved-message-property; 
Focus=reserved message property detection; PrTitle=test(message-properties): 
cover reserved property detection; 
TestFile=web/src/utils/messagePayloadPreview.test.ts; Mode=existing; 
Append=describe('message reserved property detection', () => {
     it('recognizes reserved message properties case-insensitively after 
trimming', () => {
       expect(isReservedMessageProperty('tags')).toBe(true);
       expect(isReservedMessageProperty('  UNIQ_KEY  ')).toBe(true);
       expect(isReservedMessageProperty('tenant')).toBe(false);
     });
   });}.TestFile). No runtime behavior changes.
   
   ## Acceptance criteria
   - [ ] The targeted Vitest file passes.
   - [ ] git diff --check is 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