import { defineConfig } from 'vitest/config';
import { resolve } from 'node:path';

export default defineConfig({
  test: {
    globals: true,
    watch: false,
    environment: 'node',
    include: ['apps/website/lib/types/**/*.test.ts'],
    exclude: ['node_modules/**', 'apps/website/.next/**', 'dist/**'],
  },
  resolve: {
    alias: {
      '@': resolve(__dirname, './apps/website'),
      '@core': resolve(__dirname, './core'),
    },
  },
});