import "jasmine"; import * as fs from "fs-extra"; import * as path from "path"; describe("English and german localization files", () => { const localizationPath = "./src/lang/"; const en: Record = fs.readJSONSync(path.join(localizationPath, "en.json")); const de: Record = fs.readJSONSync(path.join(localizationPath, "de.json")); it("should have the same keys.", () => { const deKeys = Object.keys(de); const enKeys = Object.keys(en); expect(deKeys).toEqual(enKeys); }); });