mirror of
https://github.com/zadam/trilium.git
synced 2025-12-03 22:14:24 +01:00
14 lines
391 B
TypeScript
14 lines
391 B
TypeScript
import { LOCALES } from "./i18n.js";
|
|
import { DAYJS_LOADER } from "./dayjs.js";
|
|
|
|
describe("dayjs", () => {
|
|
it("all dayjs locales are valid", async () => {
|
|
for (const locale of LOCALES) {
|
|
const dayjsLoader = DAYJS_LOADER[locale.id];
|
|
expect(dayjsLoader, `Locale ${locale.id} missing.`).toBeDefined();
|
|
|
|
await dayjsLoader();
|
|
}
|
|
});
|
|
});
|