import { vi } from 'vitest'
import '@testing-library/jest-dom/vitest'

// Jest compatibility: existing tests use jest.fn(), jest.spyOn(), jest.mock()
// Vitest's `vi` object has the same API, so we alias it globally.
;(globalThis as any).jest = vi
