import { render, screen } from "@testing-library/react"; import { describe, expect, it, vi } from "vitest"; import MainLayout from "./main-layout"; vi.mock("@/components/layout/app-sidebar", () => ({ AppSidebar: () => , })); vi.mock("@/components/shared/cloud-upgrade-modal", () => ({ CloudUpgradeModal: () =>
, })); describe("MainLayout", () => { it("mounts the shared Cloud upgrade modal with page content", () => { render(