Files
pybricks-code/src/components/about-i18n.test.ts
T
2021-01-15 12:51:52 -06:00

13 lines
385 B
TypeScript

// SPDX-License-Identifier: MIT
// Copyright (c) 2021 The Pybricks Authors
import { lookup } from '../../test';
import { AboutStringId } from './about-i18n';
import en from './about-i18n.en.json';
describe('Ensure .json file has matches for AboutStringId', () => {
test.each(Object.values(AboutStringId))('%s', (id) => {
expect(lookup(en, id)).toBeDefined();
});
});