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

@@ -44,7 +44,7 @@ describe('Sponsor League Detail Use Case Orchestration', () => {
expect(pricingResult.entityId).toBe(leagueId);
expect(pricingResult.acceptingApplications).toBe(true);
expect(pricingResult.tiers).toHaveLength(2);
expect(pricingResult.tiers[0].name).toBe('main');
expect(pricingResult.tiers[0]!.name).toBe('main');
expect(pricingResult.tiers[0].price.amount).toBe(10000);
});
});
@@ -52,7 +52,7 @@ describe('Sponsor League Detail Use Case Orchestration', () => {
describe('GetEntitySponsorshipPricingUseCase - Error Handling', () => {
it('should return error when pricing is not configured', async () => {
const result = await getEntitySponsorshipPricingUseCase.execute({
entityType: 'league',
entityType: 'season',
entityId: 'non-existent',
});