website cleanup
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { LeagueScoringPresetsViewModel } from './LeagueScoringPresetsViewModel';
|
||||
import type { LeagueScoringPresetDTO } from '@core/racing/application/ports/LeagueScoringPresetProvider';
|
||||
import type { LeagueScoringPresetDTO } from '@/lib/types/generated/LeagueScoringPresetDTO';
|
||||
|
||||
const createPreset = (overrides: Partial<LeagueScoringPresetDTO> = {}): LeagueScoringPresetDTO => ({
|
||||
id: 'preset-1',
|
||||
name: 'Standard scoring',
|
||||
description: 'Top 15 get points',
|
||||
gameId: 'iracing',
|
||||
primaryChampionshipType: 'driver',
|
||||
sessionSummary: 'Sprint + Main',
|
||||
bonusSummary: 'None',
|
||||
dropPolicySummary: 'Best 6',
|
||||
...overrides,
|
||||
} as LeagueScoringPresetDTO);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user