brackt/app/test/fixtures/season.ts

43 lines
958 B
TypeScript
Raw Normal View History

export const mockSeason = {
id: 'season-1',
leagueId: 'league-1',
year: 2025,
status: 'pre_draft' as const,
templateId: null,
draftRounds: 20,
flexSpots: 0,
draftDateTime: new Date('2025-12-01T19:00:00'),
autoStartDraft: false,
draftInitialTime: 120,
draftIncrementTime: 15,
currentPickNumber: 1,
draftStartedAt: null,
draftPaused: false,
inviteCode: 'TEST123',
pointsFor1st: 100,
pointsFor2nd: 70,
pointsFor3rd: 50,
pointsFor4th: 40,
pointsFor5th: 25,
pointsFor6th: 25,
pointsFor7th: 15,
pointsFor8th: 15,
createdAt: new Date('2025-01-01'),
updatedAt: new Date('2025-01-01'),
};
export const mockActiveSeason = {
...mockSeason,
id: 'season-2',
status: 'active' as const,
draftStartedAt: new Date('2025-12-01T19:00:00'),
};
export const mockDraftSeason = {
...mockSeason,
id: 'season-3',
status: 'draft' as const,
draftStartedAt: new Date('2025-12-01T19:00:00'),
currentPickNumber: 5,
};