fix issues in core
This commit is contained in:
@@ -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>,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user