1 import type { MockedFunction } from 'vitest';
3 import * as useApiWalletTransactionDataModule from '../../store/hooks/useApiWalletTransactionData';
5 export const mockUseGetApiWalletTransactionData = (
6 mockedValue?: MockedFunction<ReturnType<typeof useApiWalletTransactionDataModule.useGetApiWalletTransactionData>>
8 const spy = vi.spyOn(useApiWalletTransactionDataModule, 'useGetApiWalletTransactionData');
10 spy.mockReturnValue(mockedValue ?? vi.fn());