wip league admin tools

This commit is contained in:
2025-12-28 12:04:12 +01:00
parent 5dc8c2399c
commit 6edf12fda8
401 changed files with 15365 additions and 6047 deletions

View File

@@ -22,7 +22,7 @@ describe('League', () => {
name: 'Test League',
description: 'A test league',
ownerId: 'owner1',
})).toThrow('League ID cannot be empty');
})).toThrow('League ID is required');
});
it('should throw on invalid name', () => {
@@ -31,7 +31,7 @@ describe('League', () => {
name: '',
description: 'A test league',
ownerId: 'owner1',
})).toThrow('League name cannot be empty');
})).toThrow('League name is required');
});
it('should throw on name too long', () => {
@@ -50,7 +50,7 @@ describe('League', () => {
name: 'Test League',
description: '',
ownerId: 'owner1',
})).toThrow('League description cannot be empty');
})).toThrow('League description is required');
});
it('should throw on description too long', () => {
@@ -69,7 +69,7 @@ describe('League', () => {
name: 'Test League',
description: 'A test league',
ownerId: '',
})).toThrow('League owner ID cannot be empty');
})).toThrow('League owner ID is required');
});
it('should create with social links', () => {