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
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:
@@ -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',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user