mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 17:17:37 +02:00
test(commons): fix failure in locale
This commit is contained in:
@@ -14,6 +14,8 @@ import { describe, expect, it } from "vitest";
|
||||
describe("dayjs", () => {
|
||||
it("all dayjs locales are valid", async () => {
|
||||
for (const locale of LOCALES) {
|
||||
if (locale.contentOnly) continue;
|
||||
|
||||
const dayjsLoader = DAYJS_LOADER[locale.id];
|
||||
expect(dayjsLoader, `Locale ${locale.id} missing.`).toBeDefined();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user