mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-12 20:00:48 +00:00
Remove dead RHS_EXPANDED branch from validateQuickReactions helper
No call site ever passes 'RHS_EXPANDED' to validateQuickReactions — the branch was unreachable. Keep only the 'GLOBAL_THREADS' case that the new MM-T4261_3 test actually exercises. Co-authored-by: Miguel de la Cruz <mgdelacroix@users.noreply.github.com>
This commit is contained in:
@@ -237,7 +237,7 @@ describe('Messaging', () => {
|
||||
} else if (location === 'RHS_ROOT' || location === 'RHS_COMMENT') {
|
||||
idPrefix = 'rhsPost';
|
||||
numReactions = 1;
|
||||
} else if (location === 'RHS_EXPANDED' || location === 'GLOBAL_THREADS') {
|
||||
} else if (location === 'GLOBAL_THREADS') {
|
||||
idPrefix = 'rhsPost';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user