Initial commit: site monorepo with API, web, and infra.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { MemoryRouter } from "react-router-dom";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { HomePage } from "./HomePage";
|
||||
|
||||
describe("HomePage", () => {
|
||||
it("renders landing sections", () => {
|
||||
render(
|
||||
<MemoryRouter>
|
||||
<HomePage />
|
||||
</MemoryRouter>
|
||||
);
|
||||
expect(screen.getByRole("heading", { name: "Organic Tech / Compton" })).toBeInTheDocument();
|
||||
expect(screen.getByRole("heading", { name: "About Compton" })).toBeInTheDocument();
|
||||
expect(screen.getByRole("heading", { name: "Contacts" })).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user