tested TaskOption component and about page

This commit is contained in:
ericv105
2023-01-10 00:45:36 -05:00
parent a0d656404e
commit d9565c5de2
3 changed files with 60 additions and 8 deletions
+10
View File
@@ -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?");
});
});