refactor: circular deps between app store and lib [4] (#23829)

* mv team queries to features from lib

* update imports

* same

* wip

* move event manager test

* calendar manager to features from lib

* update imports

* update imports

* fix

* mv getEventTypeById

* fix

* fix

* remove

* fix type check error

* fix tests

* fix tests

* fix
This commit is contained in:
Benny Joo authored and GitHub committed 2025-09-18 01:42:40 +01:00
1 parent 3b471f0e25
commit b3a28dca25
90 files changed
+134 -112

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
import { beforeEach, vi } from "vitest";
import { mockReset, mockDeep } from "vitest-mock-extended";
import type * as CalendarManager from "@calcom/lib/CalendarManager";
import type * as CalendarManager from "@calcom/features/calendars/lib/CalendarManager";
vi.mock("@calcom/lib/CalendarManager", () => CalendarManagerMock);
vi.mock("@calcom/features/calendars/lib/CalendarManager", () => CalendarManagerMock);
beforeEach(() => {
mockReset(CalendarManagerMock);