eletrotupi / tcc/ frontend/tests/constants/notification-kinds.unit.test.tsb3ead45a73252ca3006b75f6c77a3d72e8055586
793 B | 27 lines Raw
1
import { NOTIFICATION_KINDS } from "@/constants/notification-kinds";
2

3
describe("NOTIFICATION_KINDS", () => {
4
  it("carries the icon and bubble for a daily reminder", () => {
5
    expect(NOTIFICATION_KINDS.DAILY_REMINDER).toStrictEqual({
6
      icon: "mood",
7
      color: "#0EA5E9",
8
      iconBackground: "#E0F2FE",
9
    });
10
  });
11

12
  it("carries the icon and bubble for a medicine reminder", () => {
13
    expect(NOTIFICATION_KINDS.MEDICINE_REMINDER).toStrictEqual({
14
      icon: "medication",
15
      color: "#7C3AED",
16
      iconBackground: "#EDE9FE",
17
    });
18
  });
19

20
  it("carries the icon and bubble for an insight alert", () => {
21
    expect(NOTIFICATION_KINDS.INSIGHT_ALERT).toStrictEqual({
22
      icon: "lightbulb-outline",
23
      color: "#D97706",
24
      iconBackground: "#FEF3C7",
25
    });
26
  });
27
});