Files
HiveGrid-Wireframes/hivegrid-cloud/apps/web/app/modules/notifications/services/NotificationChannels.test.ts
T

13 lines
449 B
TypeScript

import { describe, expect, it } from "vitest";
import { NotificationChannels } from "./NotificationChannels";
describe("NotificationChannels", () => {
it("uses translation keys for visible channel descriptions", () => {
for (const channel of NotificationChannels) {
expect(channel.descriptionKey).toBe(`notifications.admin.channelDescriptions.${channel.name}`);
expect(channel).not.toHaveProperty("description");
}
});
});