mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-07 08:28:24 -04:00
17 lines
517 B
TypeScript
17 lines
517 B
TypeScript
import React from "react";
|
|
import { render, screen } from "@testing-library/react";
|
|
import CalendarView from "../../components/CalendarView";
|
|
import { RoomProvider } from "../../context/RoomContext";
|
|
|
|
describe("CalendarView", () => {
|
|
it("renders calendar view component", () => {
|
|
render(
|
|
<RoomProvider>
|
|
<CalendarView events={[]} />
|
|
</RoomProvider>
|
|
);
|
|
// FullCalendar renders a heading for the current month/year
|
|
expect(screen.getByRole("heading")).toBeInTheDocument();
|
|
});
|
|
});
|