mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-04 12:10:16 +08:00
Moving the test file to a different directory
This commit is contained in:
1 parent
67c820d379
commit
04b14bb24b
1 file changed
@@ -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