/**
 * @ai-summary Manual mock for API client used in Jest tests
 * Prevents import.meta.env errors in jsdom environment
 */

export const apiClient = {
  get: jest.fn().mockResolvedValue({ data: [] }),
  post: jest.fn().mockResolvedValue({ data: {} }),
  put: jest.fn().mockResolvedValue({ data: {} }),
  delete: jest.fn().mockResolvedValue({}),
  interceptors: {
    request: { use: jest.fn() },
    response: { use: jest.fn() },
  },
};
