fix issues in core
This commit is contained in:
@@ -16,7 +16,7 @@ describe('CreatePaymentUseCase', () => {
|
||||
beforeEach(() => {
|
||||
paymentRepository = {
|
||||
create: vi.fn(),
|
||||
} as unknown as IPaymentRepository as any;
|
||||
};
|
||||
|
||||
output = {
|
||||
present: vi.fn(),
|
||||
@@ -24,7 +24,7 @@ describe('CreatePaymentUseCase', () => {
|
||||
|
||||
useCase = new CreatePaymentUseCase(
|
||||
paymentRepository as unknown as IPaymentRepository,
|
||||
output as unknown as UseCaseOutputPort<any>,
|
||||
output as unknown as UseCaseOutputPort<unknown>,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user