website refactor

This commit is contained in:
2026-01-16 18:21:06 +01:00
parent 2f53727702
commit 095885544b
146 changed files with 970 additions and 524 deletions

View File

@@ -47,27 +47,27 @@ describe('TeamRatingEvent', () => {
});
it('should throw for missing dimension', () => {
const { dimension: _dimension, ...rest } = validProps;
const { dimension: _, ...rest } = validProps;
expect(() => TeamRatingEvent.create(rest as typeof validProps)).toThrow(RacingDomainValidationError);
});
it('should throw for missing delta', () => {
const { delta: _delta, ...rest } = validProps;
const { delta: _, ...rest } = validProps;
expect(() => TeamRatingEvent.create(rest as typeof validProps)).toThrow(RacingDomainValidationError);
});
it('should throw for missing source', () => {
const { source: _source, ...rest } = validProps;
const { source: _, ...rest } = validProps;
expect(() => TeamRatingEvent.create(rest as typeof validProps)).toThrow(RacingDomainValidationError);
});
it('should throw for missing reason', () => {
const { reason: _reason, ...rest } = validProps;
const { reason: _, ...rest } = validProps;
expect(() => TeamRatingEvent.create(rest as typeof validProps)).toThrow(RacingDomainValidationError);
});
it('should throw for missing visibility', () => {
const { visibility: _visibility, ...rest } = validProps;
const { visibility: _, ...rest } = validProps;
expect(() => TeamRatingEvent.create(rest as typeof validProps)).toThrow(RacingDomainValidationError);
});