website refactor
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { describe, it, expect, beforeEach, vi, Mock } from 'vitest';
|
||||
import { describe, it, expect, beforeEach, vi, type Mock } from 'vitest';
|
||||
import {
|
||||
ManageSeasonLifecycleUseCase,
|
||||
type ManageSeasonLifecycleInput,
|
||||
type ManageSeasonLifecycleResult,
|
||||
type ManageSeasonLifecycleErrorCode,
|
||||
} from './ManageSeasonLifecycleUseCase';
|
||||
import type { SeasonRepository } from '../../domain/repositories/SeasonRepository';
|
||||
@@ -28,8 +27,8 @@ describe('ManageSeasonLifecycleUseCase', () => {
|
||||
findById: vi.fn(),
|
||||
update: vi.fn(),
|
||||
};
|
||||
useCase = new ManageSeasonLifecycleUseCase(leagueRepository as any,
|
||||
seasonRepository as any);
|
||||
useCase = new ManageSeasonLifecycleUseCase(leagueRepository as unknown as LeagueRepository,
|
||||
seasonRepository as unknown as SeasonRepository);
|
||||
});
|
||||
|
||||
it('applies activate → complete → archive transitions and persists state', async () => {
|
||||
|
||||
Reference in New Issue
Block a user