mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
13 lines
375 B
TypeScript
13 lines
375 B
TypeScript
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2020-2022 The Pybricks Authors
|
|
|
|
import { lookup } from '../../test';
|
|
import { I18nId as I18nId } from './i18n';
|
|
import en from './translations/en.json';
|
|
|
|
describe('Ensure .json file has matches for I18nId', () => {
|
|
test.each(Object.values(I18nId))('%s', (id) => {
|
|
expect(lookup(en, id)).toBeDefined();
|
|
});
|
|
});
|