diff --git a/frontend/src/App.test.tsx b/frontend/src/App.test.tsx index d76787e..cabc1ba 100644 --- a/frontend/src/App.test.tsx +++ b/frontend/src/App.test.tsx @@ -1,9 +1,7 @@ import React from "react"; -import { render, screen } from "@testing-library/react"; +import { render } from "@testing-library/react"; import App from "./App"; -test("renders learn react link", () => { +test("renders the app", () => { render(); - const linkElement = screen.getByText(/learn react/i); - expect(linkElement).toBeInTheDocument(); }); diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index b71e579..2039f6b 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,29 +1,23 @@ import React from "react"; -import logo from "./logo.svg"; import "./App.css"; + +// Roboto font and its weights import "@fontsource/roboto/300.css"; import "@fontsource/roboto/400.css"; import "@fontsource/roboto/500.css"; import "@fontsource/roboto/700.css"; +// Theming +import ThemeProvider from "./ThemeProvider"; + +// Material UI stuffs +import Container from "@mui/material/Container"; + function App() { return ( -
-
- logo -

- Edit src/App.tsx and save to reload. -

- - Learn React - -
-
+ + + ); }