Skip to content

Commit

Permalink
Revert "fix(container): add missing mock for payment modal tests (#14887
Browse files Browse the repository at this point in the history
)"

This reverts commit 0977501.
  • Loading branch information
JacquesLarique authored and Jacques Larique committed Jan 14, 2025
1 parent c8b57e9 commit 7f1d0c5
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { PAYMENT_ALERTS } from './constants';
import PaymentModal, { IPaymentMethod } from './PaymentModal';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import * as ManagerApi from '@ovh-ux/manager-core-api';
import { ModalTypes } from '@/context/modals/modals.context';

vi.mock('@/context', () => ({
useShell: () => ({
Expand All @@ -14,10 +13,6 @@ vi.mock('@/context', () => ({
}),
}));

vi.mock('@/context/modals', () => ({
useModals: () => ({ current: ModalTypes.payment })
}));

// Expired card in 50 days
const mockValidResponse: ManagerApi.IcebergFetchResultV6<IPaymentMethod> = {
data: [
Expand Down

0 comments on commit 7f1d0c5

Please sign in to comment.