mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 07:22:17 +08:00

* I18n: Allow pseudo-locale to be enabled in production builds * fix tests now that pseudo is around * remove psuedo locale from i18n package * load en-us from plugin resources for pseudo * fix tests + remove 'hidden' option --------- Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
8 lines
252 B
TypeScript
8 lines
252 B
TypeScript
import { LANGUAGES, VALID_LANGUAGES } from './constants';
|
|
|
|
describe('internationalization constants', () => {
|
|
it('should have a correct list of valid locale codes', () => {
|
|
expect(VALID_LANGUAGES).toEqual(LANGUAGES.map((v) => v.code));
|
|
});
|
|
});
|