fix(tests): final two mock stragglers after schema rename
- draft-pick.test.ts: assertion on db.query.participantQualifyingTotals - process-match-result.test.ts: mock key participants → seasonParticipants Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
43304f4a8d
commit
2c9fd6fe81
2 changed files with 2 additions and 2 deletions
|
|
@ -220,6 +220,6 @@ describe("getDraftedParticipantsWithPoints", () => {
|
|||
|
||||
await getDraftedParticipantsWithPoints("team-1", "season-1", db);
|
||||
|
||||
expect(db.query.participantQualifyingTotals.findMany).not.toHaveBeenCalled();
|
||||
expect(db.query.seasonParticipantQualifyingTotals.findMany).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -430,7 +430,7 @@ describe("processPlayoffEvent - NBA Play-In Round 1 loserAdvances fix", () => {
|
|||
playoffMatches: {
|
||||
findMany: vi.fn().mockResolvedValue(matches),
|
||||
},
|
||||
participants: {
|
||||
seasonParticipants: {
|
||||
findMany: vi.fn().mockResolvedValue([]),
|
||||
},
|
||||
seasonParticipantResults: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue