Skip to content

Commit 479e363

Browse files
Y-PLONIclaude
andcommitted
test(i18n): cover he in UI locale registry assertions
add he to the SUPPORTED_LOCALES list and a he-IL browser-resolution check in src/i18n/registry.test.ts. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent 5e133db commit 479e363

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/i18n/registry.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ describeWhenUiI18nPresent("ui i18n locale registry", () => {
6666
"vi",
6767
"nl",
6868
"fa",
69+
"he",
6970
]);
7071
expect(localeRegistry.DEFAULT_LOCALE).toBe("en");
7172
});
@@ -92,6 +93,7 @@ describeWhenUiI18nPresent("ui i18n locale registry", () => {
9293
expect(localeRegistry.resolveNavigatorLocale("vi-VN")).toBe("vi");
9394
expect(localeRegistry.resolveNavigatorLocale("nl-NL")).toBe("nl");
9495
expect(localeRegistry.resolveNavigatorLocale("fa-IR")).toBe("fa");
96+
expect(localeRegistry.resolveNavigatorLocale("he-IL")).toBe("he");
9597
});
9698

9799
it("loads lazy locale translations from the registry", async () => {

0 commit comments

Comments
 (0)