ds4/spec/localization/localization.spec.ts

14 lines
393 B
TypeScript

// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
import en from "../../lang/en.json";
import de from "../../lang/de.json";
describe("English and german localization files", () => {
it("should have the same keys.", () => {
const deKeys = Object.keys(de);
const enKeys = Object.keys(en);
expect(deKeys).toEqual(enKeys);
});
});