[#1] added base calendar and started to tweak ui
This commit is contained in:
@@ -2,12 +2,10 @@ import React from "react";
|
||||
import { screen } from "@testing-library/react";
|
||||
import App from "../src/App";
|
||||
import { JSX } from "react/jsx-runtime";
|
||||
import { renderWithProviders } from "./utils/Renderwithproviders";
|
||||
|
||||
test("renders learn react link", () => {
|
||||
test("renders app", () => {
|
||||
renderWithProviders(<App />);
|
||||
const linkElement = screen.getByText("Twake");
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
||||
function renderWithProviders(arg0: JSX.Element) {
|
||||
throw new Error("Function not implemented.");
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Menubar } from "../../src/components/Menubar/Menubar";
|
||||
import { renderWithProviders } from "../utils/Renderwithproviders";
|
||||
|
||||
describe("Calendar App Component Display Tests", () => {
|
||||
test("renders the Navbar component", () => {
|
||||
test("renders the Menubar component", () => {
|
||||
renderWithProviders(<Menubar />);
|
||||
const navbarElement = screen.getByText("Twake");
|
||||
expect(navbarElement).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user