ds4/spec/localization/localization.spec.ts

17 lines
425 B
TypeScript
Raw Normal View History

2021-06-26 22:02:00 +02:00
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
import { describe, expect, it } from 'vitest';
2022-08-22 22:05:14 +02:00
import de from '../../lang/de.json';
import en from '../../lang/en.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);
});
});