ds4/spec/localization/localization.spec.ts

17 lines
425 B
TypeScript
Raw Permalink Normal View History

2021-06-26 22:02:00 +02:00
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
2022-08-22 22:05:14 +02:00
import { describe, expect, it } from "vitest";
2022-02-13 18:34:03 +01:00
import de from "../../lang/de.json";
2022-08-22 22:05:14 +02:00
import en from "../../lang/en.json";
describe("English and german localization files", () => {
2023-07-10 22:23:13 +02:00
it("should have the same keys.", () => {
const deKeys = Object.keys(de);
const enKeys = Object.keys(en);
expect(deKeys).toEqual(enKeys);
});
});