B2D-Ventures/__tests__/page/calendarPage.test.ts
2024-11-24 17:11:22 +07:00

19 lines
563 B
TypeScript

import { render } from "@testing-library/react";
// Pages - Calendar
import ManageMeetingPage from "@/app/calendar/manage/page";
// Mock Cookies
jest.mock("next/headers", () => ({
cookies: jest.fn(() => ({
getAll: jest.fn(() => [{ name: "test", value: "cookieValue" }]), // Simulate returning cookies
setAll: jest.fn(), // Simulate setAll method
})),
}));
// Calendar Pages
describe("Calendar Pages", () => {
// it("Manage Meeting Page should render without crashing", async () => {
// render(await ManageMeetingPage());
// });
});