From b2ef5e208e1cb4fe47cebec49bfa306619e294f1 Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Tue, 17 Mar 2026 13:56:51 -0700 Subject: [PATCH] Fix typecheck: cast DUMMY_EV_ROW to any in test fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ParticipantEV has additional required fields (id, participantId, etc.) that aren't needed for the mock — cast to any to satisfy the type checker. Co-Authored-By: Claude Sonnet 4.6 --- app/models/__tests__/team-projected-score.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/__tests__/team-projected-score.test.ts b/app/models/__tests__/team-projected-score.test.ts index b3ba50d..afb6937 100644 --- a/app/models/__tests__/team-projected-score.test.ts +++ b/app/models/__tests__/team-projected-score.test.ts @@ -84,7 +84,7 @@ const DUMMY_EV_ROW = { probSixth: "0.1", probSeventh: "0.2", probEighth: "0.2", -}; +} as any; beforeEach(() => { vi.clearAllMocks();