Align the project baseline with the latest admin interface styling and layout structure while documenting setup and usage updates in README.
16 lines
469 B
TypeScript
16 lines
469 B
TypeScript
import { render, screen } from "@testing-library/react";
|
|
import { MemoryRouter } from "react-router-dom";
|
|
import { describe, expect, it } from "vitest";
|
|
import { RegisterPage } from "./RegisterPage";
|
|
|
|
describe("RegisterPage", () => {
|
|
it("renders register heading", () => {
|
|
render(
|
|
<MemoryRouter>
|
|
<RegisterPage />
|
|
</MemoryRouter>
|
|
);
|
|
expect(screen.getByRole("heading", { name: "Регистрация" })).toBeInTheDocument();
|
|
});
|
|
});
|