mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
This starts moving alerts to the same subsystem where they are relevant instead of putting everything in notifications. So far, only the explorer file in use error is handled like this.
13 lines
365 B
TypeScript
13 lines
365 B
TypeScript
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2020-2022 The Pybricks Authors
|
|
|
|
import { lookup } from '../../test';
|
|
import { 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();
|
|
});
|
|
});
|