fix issues in core

This commit is contained in:
2025-12-23 15:38:50 +01:00
parent df5c20c5cc
commit 120d3bb1a1
125 changed files with 1005 additions and 793 deletions

View File

@@ -23,11 +23,11 @@ describe('ProcessWalletTransactionUseCase', () => {
findByLeagueId: vi.fn(),
create: vi.fn(),
update: vi.fn(),
} as unknown as IWalletRepository as any;
};
transactionRepository = {
create: vi.fn(),
} as unknown as ITransactionRepository as any;
};
output = {
present: vi.fn(),
@@ -36,7 +36,7 @@ describe('ProcessWalletTransactionUseCase', () => {
useCase = new ProcessWalletTransactionUseCase(
walletRepository as unknown as IWalletRepository,
transactionRepository as unknown as ITransactionRepository,
output as unknown as UseCaseOutputPort<any>,
output as unknown as UseCaseOutputPort<unknown>,
);
});