mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 18:46:17 +00:00
Makes for much less scrolling/jumping around. https://redux.js.org/style-guide/style-guide#structure-files-as-feature-folders-or-ducks
13 lines
383 B
TypeScript
13 lines
383 B
TypeScript
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2021 The Pybricks Authors
|
|
|
|
import { lookup } from '../../test';
|
|
import { SettingsStringId } from './i18n';
|
|
import en from './i18n.en.json';
|
|
|
|
describe('Ensure .json file has matches for SettingsStringIds', () => {
|
|
test.each(Object.values(SettingsStringId))('%s', (id) => {
|
|
expect(lookup(en, id)).toBeDefined();
|
|
});
|
|
});
|