Skip to content

Commit

Permalink
add verification tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pascualy committed Apr 12, 2024
1 parent 83ffe74 commit dbb21d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/patient/page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { render, screen } from "@testing-library/react";
import Page from "./page";

it("App Router: Works with Server Components", () => {
it("Patient App: Works with Server Components", () => {
render(<Page />);
expect(screen.getByRole("heading")).toHaveTextContent("App Router");
expect(screen.getByRole("heading")).toHaveTextContent("Patient App");
});
4 changes: 2 additions & 2 deletions app/provider/page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { render, screen } from "@testing-library/react";
import Page from "./page";

it("App Router: Works with Server Components", () => {
it("Patient App: Works with Server Components", () => {
render(<Page />);
expect(screen.getByRole("heading")).toHaveTextContent("App Router");
expect(screen.getByRole("heading")).toHaveTextContent("Patient App");
});

0 comments on commit dbb21d6

Please sign in to comment.