Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -7,11 +7,19 @@ describe("date-fns locale bridge", () => {
|
||||
expect(getDateFnsLocale("de-DE").code).toBe("de");
|
||||
expect(getDateFnsLocale("en").code).toBe("en-US");
|
||||
expect(getDateFnsLocale("en-US").code).toBe("en-US");
|
||||
expect(getDateFnsLocale("pl-PL").code).toBe("pl");
|
||||
expect(getDateFnsLocale("ru-RU").code).toBe("ru");
|
||||
expect(getDateFnsLocale("uk-UA").code).toBe("uk");
|
||||
expect(getDateFnsLocale("hu-HU").code).toBe("hu");
|
||||
});
|
||||
|
||||
it("keeps week starts aligned with the active locale", () => {
|
||||
expect(getLocaleWeekStartsOn("de")).toBe(1);
|
||||
expect(getLocaleWeekStartsOn("en")).toBe(0);
|
||||
expect(getLocaleWeekStartsOn("pl")).toBe(1);
|
||||
expect(getLocaleWeekStartsOn("ru")).toBe(1);
|
||||
expect(getLocaleWeekStartsOn("uk")).toBe(1);
|
||||
expect(getLocaleWeekStartsOn("hu")).toBe(1);
|
||||
expect(getLocaleWeekStartsOn(undefined)).toBe(1);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user