Test(i18n): current language utility unit test #106
Merged
jakob.scheid
merged 17 commits from 2026-06-04 12:41:55 +02:00
testing/current-language-util into main
Labels
Clear labels
Area/Global
Area/Legal
Area/Search Results
Area/Settings
Area/Sidebar
Area/Start page
Compat/Breaking
Kind/Bug
Kind/Chore
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Refactor
Kind/Security
Kind/Style
Kind/Testing
Kind/Urgent
A global issue or pull request
An issue or pull requests related to the search results feature
The issue or pull request is related to the settings
The issue or pull request is related to the sidebar
Related to the start page
Breaking change that will not be backward compatible
Something is not working
Chore and maintainerance
Documentation changes
Improve existing functionality
New functionality
Refactoring code
This is security issue
Code style changes
Issue or pull request related to testing
The issue or pull request is urgent
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Will Not Fix
3
This issue will not be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Projects
Clear projects
No projects
Project Board
Done
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Seekra/frontend#106
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Current language utility unit test
Add a unit test for the current language utility (
src/utils/currentLanguage.js).Summary
navigator.language(according to the test cases)localeitem (according to the test cases)en), locales with country codes (e. g.en-US), locales with writing system and country code (e. g.zh-Hans-CN) and locales with extension (e. g.en-US-u-ca-gregory)Related issues
Closes: #83
c42d650302to7d15d29409Add current language utility unit testto Test: current language utility unit testTest: current language utility unit testto Test(i18n): current language utility unit test