website refactor
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user