website refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { beforeEach, describe, expect, it, vi, type Mock } from 'vitest';
|
||||
import { GetWalletUseCase, type GetWalletInput } from './GetWalletUseCase';
|
||||
import type { TransactionRepository, IWalletRepository } from '../../domain/repositories/WalletRepository';
|
||||
import type { TransactionRepository, WalletRepository } from '../../domain/repositories/WalletRepository';
|
||||
import type { Transaction, Wallet } from '../../domain/entities/Wallet';
|
||||
import { TransactionType } from '../../domain/entities/Wallet';
|
||||
|
||||
@@ -27,8 +27,8 @@ describe('GetWalletUseCase', () => {
|
||||
};
|
||||
|
||||
useCase = new GetWalletUseCase(
|
||||
walletRepository as unknown as IWalletRepository,
|
||||
transactionRepository as unknown as ITransactionRepository,
|
||||
walletRepository as unknown as WalletRepository,
|
||||
transactionRepository as unknown as TransactionRepository,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user