Skip to content

Commit

Permalink
Update app.test
Browse files Browse the repository at this point in the history
  • Loading branch information
eomielan committed Oct 27, 2024
1 parent b538065 commit 2d2b7df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { render, screen } from "@testing-library/react";
import App from "./App.js";

test("renders learn react link", () => {
test("renders Sender Page heading", () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
const headingElement = screen.getByText(/Sender Page/i);
expect(headingElement).toBeInTheDocument();
});

0 comments on commit 2d2b7df

Please sign in to comment.