website refactor

This commit is contained in:
2026-01-16 19:38:55 +01:00
parent 095885544b
commit 26fc726556
73 changed files with 232 additions and 213 deletions

View File

@@ -1,7 +1,6 @@
import { describe, it, expect, beforeEach, vi, type Mock } from 'vitest';
import {
GetLeagueWalletUseCase,
type GetLeagueWalletResult,
type GetLeagueWalletInput,
type GetLeagueWalletErrorCode,
} from './GetLeagueWalletUseCase';
@@ -40,9 +39,9 @@ describe('GetLeagueWalletUseCase', () => {
findByWalletId: vi.fn(),
};
useCase = new GetLeagueWalletUseCase(leagueRepository as any,
leagueWalletRepository as any,
transactionRepository as any);
useCase = new GetLeagueWalletUseCase(leagueRepository as unknown as LeagueRepository,
leagueWalletRepository as unknown as LeagueWalletRepository,
transactionRepository as unknown as TransactionRepository);
});
it('returns mapped wallet data when wallet exists', async () => {