/// <reference types="vitest" />
import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    globals: true,
    environment: 'jsdom',
    // This setup file is where we can add global test configurations
    setupFiles: './src/tests/setup/tests-setup-unit.ts',
    // This line is the key fix: it tells Vitest to include the type definitions
    include: ['src/**/*.test.tsx'],
  },
});