import { defineConfig } from 'vitest/config';
import * as path from 'path';

export default defineConfig({
  test: {
    globals: true,
    environment: 'node',
    include: ['tests/smoke/website-ssr.test.ts'],
    testTimeout: 30000, // Increase timeout for network requests
  },
  resolve: {
    alias: {
      '@': path.resolve(__dirname, './apps/website'),
    },
  },
});
