Files
pybricks-code/src/components/notification-i18n.test.ts
T
David Lechner e0e2d98cd0 rename translation files
This fixes case-insensitive file name conflicts, e.g. editor.ts Editor.ts
2020-06-13 00:00:42 -05:00

13 lines
388 B
TypeScript

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