| 1234567891011121314151617181920 |
- import { describe, expect, test } from "vitest";
- import enSettings from "../../../messages/en/settings";
- import jaSettings from "../../../messages/ja/settings";
- import ruSettings from "../../../messages/ru/settings";
- import zhCNSettings from "../../../messages/zh-CN/settings";
- import zhTWSettings from "../../../messages/zh-TW/settings";
- describe("messages/<locale>/settings module", () => {
- test("loads and keeps expected top-level keys", () => {
- const all = [enSettings, jaSettings, ruSettings, zhCNSettings, zhTWSettings];
- for (const settings of all) {
- expect(settings).toHaveProperty("providers");
- expect(settings).toHaveProperty("providers.form");
- expect(settings).toHaveProperty("mcpPassthroughConfig");
- expect(settings).toHaveProperty("mcpPassthroughUrlPlaceholder");
- }
- });
- });
|