code quality
Some checks failed
CI / lint-typecheck (pull_request) Failing after 12s
CI / tests (pull_request) Has been skipped
CI / contract-tests (pull_request) Has been skipped
CI / e2e-tests (pull_request) Has been skipped
CI / comment-pr (pull_request) Has been skipped
CI / commit-types (pull_request) Has been skipped

This commit is contained in:
2026-01-26 22:16:33 +01:00
parent f2bd80ccd3
commit 09632d004d
72 changed files with 1946 additions and 277 deletions

View File

@@ -24,7 +24,6 @@ describe('League Creation - Success Path', () => {
raceDay: 'Saturday',
raceTime: '18:00',
tracks: ['Monza', 'Spa', 'Nürburgring'],
scoringSystem: { points: [25, 18, 15, 12, 10, 8, 6, 4, 2, 1] },
bonusPointsEnabled: true,
penaltiesEnabled: true,
protestsEnabled: true,
@@ -52,7 +51,7 @@ describe('League Creation - Success Path', () => {
expect(context.eventPublisher.getLeagueCreatedEventCount()).toBe(1);
const events = context.eventPublisher.getLeagueCreatedEvents();
expect(events[0].leagueId).toBe(result.id);
expect(events[0]!.leagueId).toBe(result.id);
});
it('should create a league with minimal configuration', async () => {