Skip to content

Commit

Permalink
Decrease test coverage for apps/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
qiushi1511 committed Oct 18, 2024
1 parent 3983dc1 commit 5ea6e3a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/docs/app/about.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Page() {
return <h1>About</h1>;
}
13 changes: 13 additions & 0 deletions apps/docs/app/home.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { describe, expect, it } from "@jest/globals";
import { render, screen } from "@testing-library/react";
import Home from "./home";

describe("Page", () => {
it("renders a heading", () => {
render(<Home />);

const heading = screen.getByRole("heading", { level: 1 });

expect(heading).toBeInTheDocument();
});
});
3 changes: 3 additions & 0 deletions apps/docs/app/home.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Page() {
return <h1>Home</h1>;
}

0 comments on commit 5ea6e3a

Please sign in to comment.