aboutsummaryrefslogtreecommitdiff
path: root/test/macro/loadMocks.tsx
blob: 08e90dece60849af24afd87ecea5908afbb314de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { unreachable } from "macro:./assert";

if (process.env.NODE_ENV !== "test") unreachable("This module should only be imported in tests");

export const mockData = {
  Copilot: {
    id: "Copilot",
    name: "Copilot",
    description: "Copilot",
    icon: "https://s3.amazonaws.com/copilot-public/images/icons/Copilot.png",
    color: "#00AEEF",
    type: "service",
    tags: ["copilot"],
    categories: ["copilot"],
    links: [
      {
        id: "Copilot",
        name: "Copilot",
        url: "https://copilot.io",
        description: "Copilot",
        icon: "https://s3.amazonaws.com/copilot-public/images/icons/Copilot.png",
        color: "#00AEEF",
        type: "service",
        tags: ["copilot"],
        categories: ["copilot"],
      },
    ],
  },
};