Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
github-metrics / Generate repository metrics SVG (push) Failing after 2m3s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 11s
This repository contains the open-design daemon CLI source code, built and packaged at https://helix-mind.ai/cli/open-design/latest.tgz for use by the HelixMind /design slash command. Licenses: Apache-2.0 (root) + MIT (skills/*)
34 lines
943 B
TypeScript
34 lines
943 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
import { de } from '../../src/i18n/locales/de';
|
|
import { en } from '../../src/i18n/locales/en';
|
|
import { esES } from '../../src/i18n/locales/es-ES';
|
|
import { fa } from '../../src/i18n/locales/fa';
|
|
import { fr } from '../../src/i18n/locales/fr';
|
|
import { ja } from '../../src/i18n/locales/ja';
|
|
import { ptBR } from '../../src/i18n/locales/pt-BR';
|
|
import { ru } from '../../src/i18n/locales/ru';
|
|
import { zhCN } from '../../src/i18n/locales/zh-CN';
|
|
import { zhTW } from '../../src/i18n/locales/zh-TW';
|
|
|
|
const LOCALE_DICTS = {
|
|
de,
|
|
en,
|
|
esES,
|
|
fa,
|
|
fr,
|
|
ja,
|
|
ptBR,
|
|
ru,
|
|
zhCN,
|
|
zhTW,
|
|
};
|
|
|
|
describe('Design Files dropzone copy', () => {
|
|
it('does not advertise unsupported Figma link drops', () => {
|
|
for (const [locale, dict] of Object.entries(LOCALE_DICTS)) {
|
|
expect(dict['designFiles.dropDesc'], locale).not.toMatch(/figma/i);
|
|
}
|
|
});
|
|
});
|