import { vi } from 'vitest' // Default vue-router mock — individual tests can override with their own mock. // Page-level tests that exercise the actual router should not import this. vi.mock('vue-router', () => ({ useRoute: () => ({ params: {}, query: {} }), useRouter: () => ({ push: vi.fn(), replace: vi.fn() }), }))