Repository navigation
test: cover language switch persistence in LanguageSwitcher - #2191
Open
Philcsweb3 wants to merge 1 commit into
Open
Philcsweb3 wants to merge 1 commit into
Philcsweb3 wants to merge 1 commit into
Conversation
Malware detection scan flagged this pull requestThe scan found 1 indicator(s) in the PR diff. This PR is blocked until a maintainer reviews the flagged files.
This is an automated triage signal; maintainers must verify whether the finding is malicious or intentional. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR addresses the testing gap around the frontend language switcher by covering route preservation and unsupported-locale handling. The only file touched is
LanguageSwitcher.tsx, so the change is scoped to how that component is exercised and what behavior it is expected to guarantee.Related Issue
Closes #[issue number]
Changes
🌐 Language Switcher
frontend/src/app/components/global_ui/LanguageSwitcher.tsxVerification Results
Verification of this change is limited to the scope of the modified file. No test files were added or modified in this PR, so no new test pass counts are claimed here.
Closes #2134