Skip to content

Commit ca482eb

Browse files
committed
test: test cfp section
1 parent 8f42679 commit ca482eb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/views/Cfp/CfpSection.test.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React from "react";
2-
import { render, screen } from "@testing-library/react";
2+
import {render, screen} from "@testing-library/react";
33
import "@testing-library/jest-dom";
44
import CfpSection from "./CfpSection";
5-
import conferenceData from "../../data/2024.json";
6-
import { data } from "./CfpData";
5+
import conferenceData from "../../data/2025.json";
6+
import {data} from "./CfpData";
77

88
describe("CfpSection", () => {
99
it("sets document title on mount", () => {
@@ -13,13 +13,15 @@ describe("CfpSection", () => {
1313
);
1414
});
1515

16-
it("renders TitleSection with correct props", () => {
16+
// Reason: CFP not ready yet
17+
it.skip("renders TitleSection with correct props", () => {
1718
render(<CfpSection />);
1819
expect(screen.getByText(/CFP Committee/)).toBeInTheDocument();
1920
expect(screen.getByText(/We're excited to announce/)).toBeInTheDocument();
2021
});
2122

22-
it("renders a CfpTrackComponent for each track in data", () => {
23+
// Reason: CFP not ready yet
24+
it.skip("renders a CfpTrackComponent for each track in data", () => {
2325
render(<CfpSection />);
2426
data.forEach((track) => {
2527
expect(screen.getByText(track.name)).toBeInTheDocument();

0 commit comments

Comments
 (0)