diff --git a/app/models/__tests__/process-match-result.test.ts b/app/models/__tests__/process-match-result.test.ts index 0d19abf..42fcfac 100644 --- a/app/models/__tests__/process-match-result.test.ts +++ b/app/models/__tests__/process-match-result.test.ts @@ -46,6 +46,7 @@ function makeDb(existingResult?: { id: string; isPartialScore: boolean }) { seasonSports: { findMany: vi.fn().mockResolvedValue([]), // empty → standings loop exits immediately }, + sportsSeasons: { findFirst: vi.fn().mockResolvedValue(null) }, scoringEvents: { findFirst: vi.fn().mockResolvedValue(null) }, }, } as any,