diff --git a/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts b/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts index 9848533e3b..0a5a0de5ca 100644 --- a/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts +++ b/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts @@ -1,4 +1,14 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it, vi } from "vitest"; + +vi.mock("@calcom/prisma", () => ({ + default: {}, + prisma: {}, +})); + +vi.mock("@calcom/app-store/_appRegistry", () => ({ + getAppWithMetadata: vi.fn(), +})); + import { parseFrontmatter } from "../getStaticProps"; describe("parseFrontmatter", () => {