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:
1 parent
3b471f0e25
commit
b3a28dca25
90 files changed
+134
-112
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user