mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
14 lines
583 B
TypeScript
14 lines
583 B
TypeScript
import { screen } from "@testing-library/react";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
import { PlaceholderPage } from "@/components/common/placeholder-page";
|
|
import { renderWithProviders } from "@/test/test-utils";
|
|
|
|
describe("PlaceholderPage", () => {
|
|
it("renders the AAP under-construction copy", () => {
|
|
renderWithProviders(<PlaceholderPage title="Services" />, { withAuth: false });
|
|
|
|
expect(screen.getByRole("heading", { name: "Services" })).toBeInTheDocument();
|
|
expect(screen.getByText("This page is under construction.")).toBeInTheDocument();
|
|
});
|
|
});
|