Files
workavia-calendar-front/__test__/components/Menubar.test.tsx
T
2025-06-25 17:42:54 +02:00

14 lines
497 B
TypeScript

import React from "react";
import { screen } from "@testing-library/react";
import "@testing-library/jest-dom";
import { Menubar } from "../../src/components/Menubar/Menubar";
import { renderWithProviders } from "../utils/Renderwithproviders";
describe("Calendar App Component Display Tests", () => {
test("renders the Navbar component", () => {
renderWithProviders(<Menubar />);
const navbarElement = screen.getByText("Twake");
expect(navbarElement).toBeInTheDocument();
});
});