perf: Remove packages/ui/index.ts barrel file (#20243)

* remove packages/ui/index.ts

* Update tests
This commit is contained in:
Benny Joo authored and GitHub committed 2025-03-20 07:26:12 -03:00
1 parent 4762d475cb
commit b0bf274896
14 files changed
+27 -198

No files matched your search

+13 -1
View File
@@ -151,11 +151,23 @@ vi.mock("@calcom/trpc/react", () => ({
},
}));
vi.mock("@calcom/ui", () => ({
vi.mock("@calcom/ui/components/head-seo", () => ({
HeadSeo: vi.fn(),
}));
vi.mock("@calcom/ui/styles", () => ({
useCalcomTheme: vi.fn(),
}));
vi.mock("@calcom/ui/components/icon", () => ({
Icon: vi.fn(),
}));
vi.mock("@calcom/ui/components/unpublished-entity", () => ({
UnpublishedEntity: vi.fn(),
}));
vi.mock("@calcom/ui/components/avatar", () => ({
UserAvatar: vi.fn(),
}));