Skip to content

Commit 3998eb6

Browse files
committed
feat: Update conference data to 2026, remove sponsor-related tests, and add VS Code launch configuration.
1 parent 01caba2 commit 3998eb6

File tree

5 files changed

+8
-197
lines changed

5 files changed

+8
-197
lines changed

src/2025/Home/components/Sponsors/useSponsorsHook.test.tsx

Lines changed: 0 additions & 107 deletions
This file was deleted.

src/views/Cfp/CfpSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
StyledAboutImage,
1616
StyledSocialIconsWrapper,
1717
} from "../About/components/Style.AboutCard";
18-
import conferenceData from "@data/2025.json";
18+
import conferenceData from "@data/2026.json";
1919
import { CfpTrackProps, data } from "./CfpData";
2020
import { MemberName, TrackName } from "./Cfp.style";
2121
import { useDocumentTitleUpdater } from "@hooks/useDocumentTitleUpdate";

src/views/Home/components/Sponsors/Supporters.test.tsx

Lines changed: 0 additions & 82 deletions
This file was deleted.

src/views/Speakers/Speakers.test.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ vi.mock("@sentry/react", () => ({
3030
captureException: vi.fn(),
3131
}));
3232

33-
// Mock the 2025.json data
33+
// Mock the 2026.json data
3434
vi.mock("../../data/2026.json", () => {
3535
const mockData = {
3636
hideSpeakers: false,
37-
edition: "2024",
37+
edition: "2026",
3838
title: "DevBcn",
3939
cfp: {
40-
startDay: "2023-01-01T00:00:00",
41-
endDay: "2023-02-01T00:00:00",
40+
startDay: "2026-01-01T00:00:00",
41+
endDay: "2026-03-01T00:00:00",
4242
link: "https://example.com/cfp",
4343
},
4444
};
@@ -94,7 +94,7 @@ describe("Speakers component", () => {
9494

9595
// Mock Date to return a date within the CFP period
9696
const originalDate = Date;
97-
const mockDate = new Date("2023-01-15");
97+
const mockDate = new Date("2026-01-15");
9898

9999
// This ensures that both new Date() and Date.now() use our mock date
100100
global.Date = class extends Date {
@@ -130,7 +130,7 @@ describe("Speakers component", () => {
130130

131131
// Mock Date to return a date within the CFP period
132132
const originalDate = Date;
133-
const mockDate = new Date("2023-01-15");
133+
const mockDate = new Date("2026-01-15");
134134

135135
// This ensures that both new Date() and Date.now() use our mock date
136136
global.Date = class extends Date {

src/views/Speakers/Speakers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
StyledSpeakersSection,
1616
StyledWaveContainer,
1717
} from "./Speakers.style";
18-
import webData from "@data/2025.json";
18+
import webData from "@data/2026.json";
1919
import Button from "@components/UI/Button";
2020
import { gaEventTracker } from "@components/analytics/Analytics";
2121
import { useFetchSpeakers } from "@hooks/useFetchSpeakers";

0 commit comments

Comments
 (0)