Skip to content

Commit 4a0c4a6

Browse files
committed
test: proper mocking
1 parent f40a1f7 commit 4a0c4a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/Speakers/Speakers.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ vi.mock("react-use", () => ({
2727

2828
// Mock Sentry
2929
vi.mock("@sentry/react", () => ({
30-
captureException: vi.fn(,
30+
captureException: vi.fn(),
3131
}));
3232

3333
// Mock the 2025.json data
@@ -39,7 +39,7 @@ vi.mock("../../data/2025.json", () => {
3939
cfp: {
4040
startDay: "2023-01-01T00:00:00",
4141
endDay: "2023-02-01T00:00:00",
42-
link: "https://example.com/cfp"
42+
link: "https://example.com/cfp",
4343
},
4444
};
4545
return { default: mockData };

0 commit comments

Comments
 (0)