diff --git a/hackathon_site/dashboard/frontend/src/pages/AdminDashboard/AdminDashboard.test.tsx b/hackathon_site/dashboard/frontend/src/pages/AdminDashboard/AdminDashboard.test.tsx index c3a3ff105..dce6d5ddf 100644 --- a/hackathon_site/dashboard/frontend/src/pages/AdminDashboard/AdminDashboard.test.tsx +++ b/hackathon_site/dashboard/frontend/src/pages/AdminDashboard/AdminDashboard.test.tsx @@ -3,19 +3,11 @@ import AdminDashboard from "pages/AdminDashboard/AdminDashboard"; import { render, waitFor } from "testing/utils"; -import { mockPendingOrders, overviewTitles } from "testing/mockData"; - describe("Admin Dashboard Page", () => { it("Renders correctly when the dashboard appears 4 Pending Order cards and all Overview Cards", async () => { const { queryByText, getByText } = render(); await waitFor(() => { - for (let title of overviewTitles) { - expect(queryByText(title)).toBeTruthy(); - } - for (let order of mockPendingOrders) { - expect(queryByText(order.team_code)).toBeTruthy(); - } expect(getByText("Hackathon Name Admin Dashboard")).toBeInTheDocument(); expect(getByText("Overview")).toBeInTheDocument(); expect(getByText("Pending Orders")).toBeInTheDocument();