import "@testing-library/jest-dom/vitest"; // Global test setup beforeEach(() => { // Clear all mocks before each test vi.clearAllMocks(); });