Skip to content

Commit

Permalink
test(e2e): 🐛 adapt heading test to updated content
Browse files Browse the repository at this point in the history
  • Loading branch information
nibtime committed Jul 6, 2022
1 parent 2c8c5cd commit 8926a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/e2e/__tests__/pages/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { render, screen } from "@testing-library/react";
import Home from "../../pages/index";

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

const heading = screen.getByRole("heading", {
name: /@next-safe\/middleware e2e test app/i,
name: /@next-safe\/middleware/i,
});
expect(heading).toBeInTheDocument();
});
Expand Down

1 comment on commit 8926a0b

@vercel
Copy link

@vercel vercel bot commented on 8926a0b Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.