chore: Remove next-collect package (#25146)

This commit is contained in:
Alex van Andel authored and GitHub committed 2025-11-19 13:54:26 +00:00
1 parent cf7430d531
commit 90a42c37fd
24 files changed
+53 -184

No files matched your search

-10
View File
@@ -16,16 +16,6 @@ vi.mock("@vercel/edge-config", () => ({
get: vi.fn(),
}));
vi.mock("next-collect/server", () => ({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
collectEvents: vi.fn((config: any) => config.middleware),
}));
vi.mock("@calcom/lib/telemetry", () => ({
extendEventData: vi.fn(),
nextCollectBasicSettings: {},
}));
// Mock NextResponse.json since it's not available in test environment
vi.mock("next/server", async () => {
const actual = await vi.importActual<typeof import("next/server")>("next/server");