mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-05 12:40:38 +08:00
Moving the test file to a different directory
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import AboutPage from "src/pages/about";
|
||||
|
||||
describe("About page", () => {
|
||||
it("should render correctly", () => {
|
||||
render(<AboutPage />);
|
||||
|
||||
expect(screen.getByRole("heading", { level: 1 })).toHaveTextContent("What is OpenAssistant?");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user