// @vitest-environment jsdom import { cleanup, fireEvent, render, screen } from "@testing-library/react"; import type React from "react"; import { afterEach, describe, expect, it, vi } from "vitest"; // The FAQ page source imports from @/components/* which vitest resolves through // the @ alias to apps/web/src/. These components only exist in the landing app, // so we mock them at the resolved path vitest will look for. vi.mock("@/components/fade-in", () => ({ FadeIn: ({ children }: React.PropsWithChildren) =>
{children}
, })); vi.mock("@/components/footer", () => ({ Footer: () =>